summaryrefslogtreecommitdiff
path: root/src/database/database.hpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-03-16 00:53:47 +0100
committerlouiz’ <louiz@louiz.org>2018-03-16 01:13:50 +0100
commitba879a882e031d7b8503f78fe41d1210000c96ca (patch)
treee5e4f8055e73437318a36bddebd1c6d426fdce8e /src/database/database.hpp
parent3f088e7b3a1467a88e7c5ff9fb60dc4609d2bfa3 (diff)
downloadbiboumi-ba879a882e031d7b8503f78fe41d1210000c96ca.tar.gz
biboumi-ba879a882e031d7b8503f78fe41d1210000c96ca.tar.bz2
biboumi-ba879a882e031d7b8503f78fe41d1210000c96ca.tar.xz
biboumi-ba879a882e031d7b8503f78fe41d1210000c96ca.zip
Use std::optional<bool> instead of OptionalBool
Diffstat (limited to 'src/database/database.hpp')
-rw-r--r--src/database/database.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/database.hpp b/src/database/database.hpp
index 8a967d8..03d82ae 100644
--- a/src/database/database.hpp
+++ b/src/database/database.hpp
@@ -69,7 +69,7 @@ class Database
struct RecordHistory: Column<bool> { static constexpr auto name = "recordhistory_";
RecordHistory(): Column<bool>(true) {}};
- struct RecordHistoryOptional: Column<OptionalBool> { static constexpr auto name = "recordhistory_"; };
+ struct RecordHistoryOptional: Column<std::optional<bool>> { static constexpr auto name = "recordhistory_"; };
struct VerifyCert: Column<bool> { static constexpr auto name = "verifycert_";
VerifyCert(): Column<bool>(true) {} };