diff --git a/server/io.cpp b/server/io.cpp index 6a70aca..694c7ce 100644 --- a/server/io.cpp +++ b/server/io.cpp @@ -261,6 +261,10 @@ std::string base62uuid(int l) { return ret; } +template <> +inline const char* str(const bool& v) { + return v ? "true" : "false"; +} // template // inline void vector_type<_Ty>::out(uint32_t n, const char* sep) const diff --git a/server/pch.hpp b/server/pch.hpp index 3c7f1e0..b37ac13 100644 --- a/server/pch.hpp +++ b/server/pch.hpp @@ -6,9 +6,9 @@ #include #include #include "monetdb_conn.h" -#include "monetdbe.h" #include "threading.h" #include "../csv.h" +#include "table_ext_monetdb.hpp" #ifdef _WIN32 #include "winhelper.h" #undef max diff --git a/server/utils.h b/server/utils.h index e54ed3c..fd38cb3 100644 --- a/server/utils.h +++ b/server/utils.h @@ -9,9 +9,6 @@ template inline const char* str(const T& v) { return ""; } -template <> -inline const char* str(const bool& v) { - return v ? "true" : "false"; -} + #include extern std::string base62uuid(int l = 6); \ No newline at end of file