summaryrefslogtreecommitdiff
path: root/project2/json/conversion.h
diff options
context:
space:
mode:
Diffstat (limited to 'project2/json/conversion.h')
-rw-r--r--project2/json/conversion.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/json/conversion.h b/project2/json/conversion.h
index acd22fb..31bfc8c 100644
--- a/project2/json/conversion.h
+++ b/project2/json/conversion.h
@@ -8,6 +8,7 @@ class Project2ToJson : public boost::static_visitor<json::Value> {
json::Value operator()(const boost::posix_time::ptime & i) const;
json::Value operator()(const Null & c) const;
json::Value operator()(const Glib::ustring & c) const;
+ json::Value operator()(const Boolean & c) const;
template <class Numeric>
json::Value operator()(const Numeric & i) const {
return boost::numeric_cast<json::Number>(i);
@@ -16,7 +17,6 @@ class Project2ToJson : public boost::static_visitor<json::Value> {
class JsonToProject2 : public boost::static_visitor<VariableType> {
public:
- VariableType operator()(const json::Boolean &) const;
VariableType operator()(const json::Object &) const;
VariableType operator()(const json::Array &) const;
template <class Copyable>