浏览代码

Merge branch 'build-cleanups' into next

* build-cleanups:
  Avoid crashing due to different ptr for key creating empty set
Bryan Drewery 11 年之前
父节点
当前提交
c779a93e42
共有 1 个文件被更改,包括 2 次插入 和 1 次删除
  1. 2 1
      src/response.cc

+ 2 - 1
src/response.cc

@@ -9,9 +9,10 @@
 #include "response.h"
 #include "response.h"
 #include "responses.cc"
 #include "responses.cc"
 #include <bdlib/src/HashTable.h>
 #include <bdlib/src/HashTable.h>
+#include <bdlib/src/String.h>
 #include <vector>
 #include <vector>
 
 
-static bd::HashTable<const char*, std::vector<const char*> > res_map;
+static bd::HashTable<bd::String, std::vector<const char*> > res_map;
 
 
 void
 void
 init_responses()
 init_responses()