From e267512ad40c073bd5a5b37a4ee3378c80b9f523 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Thu, 25 Jan 2018 02:17:20 +0100 Subject: Restore the is_one_of variable template --- src/database/row.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/database') diff --git a/src/database/row.hpp b/src/database/row.hpp index 2d55897..130863a 100644 --- a/src/database/row.hpp +++ b/src/database/row.hpp @@ -30,13 +30,13 @@ struct Row } template - void save(std::unique_ptr& db, typename std::enable_if::value && Coucou>::type* = nullptr) + void save(std::unique_ptr& db, typename std::enable_if && Coucou>::type* = nullptr) { this->insert(*db); } template - void save(std::unique_ptr& db, typename std::enable_if::value && Coucou>::type* = nullptr) + void save(std::unique_ptr& db, typename std::enable_if && Coucou>::type* = nullptr) { const Id& id = std::get(this->columns); if (id.value == Id::unset_value) -- cgit v1.2.3