소스 검색

Avoid crashing due to different ptr for key creating empty set

Bryan Drewery 11 년 전
부모
커밋
1e8aa62971
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()