fix nullptr_t compile error

This commit is contained in:
Michael van der Werve 2020-10-15 09:54:50 +02:00
parent 61f4cf244b
commit ed62771667
1 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@
*/
#include "field.h"
#include "fieldproxy.h"
#include <cstddef>
#include <vector>
#include <map>
@ -138,7 +139,7 @@ public:
Table &set(const std::string &name, int64_t value) { return set(name, LongLong(value)); }
Table &set(const std::string &name, const std::string &value) { return set(name, LongString(value)); }
Table &set(const std::string &name, const char *value) { return set(name, LongString(std::string(value))); }
Table &set(const std::string &name, nullptr_t) { return set(name, VoidField()); }
Table &set(const std::string &name, std::nullptr_t) { return set(name, VoidField()); }
/**
* Is a certain field set in the table