fix nullptr_t compile error
This commit is contained in:
parent
61f4cf244b
commit
ed62771667
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue