summaryrefslogtreecommitdiff
path: root/src/database/type_to_sql.hpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-02-05 22:53:36 +0100
committerlouiz’ <louiz@louiz.org>2018-02-05 22:53:36 +0100
commit56651cb5c29cc50ddf3c62c37167fa0b9389bfde (patch)
treeca652963cafeb02b0c6c7504b1cfbc27abdafe0b /src/database/type_to_sql.hpp
parentad1e0f8d52189e18df2d5a39228e255798a9de70 (diff)
parente0d1a0b44add408504e428d6ce4a8a2121ea7a00 (diff)
downloadbiboumi-56651cb5c29cc50ddf3c62c37167fa0b9389bfde.tar.gz
biboumi-56651cb5c29cc50ddf3c62c37167fa0b9389bfde.tar.bz2
biboumi-56651cb5c29cc50ddf3c62c37167fa0b9389bfde.tar.xz
biboumi-56651cb5c29cc50ddf3c62c37167fa0b9389bfde.zip
Merge branch 'master' into debian
Diffstat (limited to 'src/database/type_to_sql.hpp')
-rw-r--r--src/database/type_to_sql.hpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/database/type_to_sql.hpp b/src/database/type_to_sql.hpp
deleted file mode 100644
index ba806ab..0000000
--- a/src/database/type_to_sql.hpp
+++ /dev/null
@@ -1,16 +0,0 @@
-#pragma once
-
-#include <utils/optional_bool.hpp>
-
-#include <string>
-
-template <typename T>
-struct TypeToSQLType { static const std::string type; };
-
-template <> const std::string TypeToSQLType<int>::type;
-template <> const std::string TypeToSQLType<std::size_t>::type;
-template <> const std::string TypeToSQLType<long>::type;
-template <> const std::string TypeToSQLType<long long>::type;
-template <> const std::string TypeToSQLType<bool>::type;
-template <> const std::string TypeToSQLType<std::string>::type;
-template <> const std::string TypeToSQLType<OptionalBool>::type; \ No newline at end of file