Skip to content

Commit

Permalink
fix header include problem
Browse files Browse the repository at this point in the history
forgot that precompiled headers (which we use on non-windows) don't
use custom include paths that we specify!
  • Loading branch information
zhiayang committed Dec 8, 2018
1 parent b677349 commit 98166bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 5 additions & 1 deletion source/include/defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ std::string strprintf(const char* fmt, Ts... ts)

#define dcast(t, v) dynamic_cast<t*>(v)

#define USE_SKA_HASHMAP false
#if USE_SKA_HASHMAP
#include "ska/flat_hash_map.hpp"
#endif

namespace util
{
#ifndef STRING_VIEW_TYPE
Expand All @@ -105,7 +110,6 @@ namespace util
#endif


#define USE_SKA_HASHMAP false

#if USE_SKA_HASHMAP
using hash_map = ska::flat_hash_map;
Expand Down
2 changes: 0 additions & 2 deletions source/include/precompile.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
#include <unordered_map>
#include <unordered_set>

#include "ska/flat_hash_map.hpp"

#endif


Expand Down

0 comments on commit 98166bb

Please sign in to comment.