fixed build for centos

dev
Bill 2 years ago
parent 11e64b2f0e
commit f949cf29f0

@ -261,6 +261,10 @@ std::string base62uuid(int l) {
return ret;
}
template <>
inline const char* str(const bool& v) {
return v ? "true" : "false";
}
// template<typename _Ty>
// inline void vector_type<_Ty>::out(uint32_t n, const char* sep) const

@ -6,9 +6,9 @@
#include <iostream>
#include <chrono>
#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

@ -9,9 +9,6 @@ template <class T>
inline const char* str(const T& v) {
return "";
}
template <>
inline const char* str(const bool& v) {
return v ? "true" : "false";
}
#include<string>
extern std::string base62uuid(int l = 6);
Loading…
Cancel
Save