diff --git a/include/amqpcpp/table.h b/include/amqpcpp/table.h index c701ec9..8be349f 100644 --- a/include/amqpcpp/table.h +++ b/include/amqpcpp/table.h @@ -14,6 +14,7 @@ */ #include "field.h" #include "fieldproxy.h" +#include #include #include @@ -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