summaryrefslogtreecommitdiff
path: root/json.hpp
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2011-03-31 01:15:23 +0100
committerJosé Fonseca <jose.r.fonseca@gmail.com>2011-03-31 01:15:23 +0100
commited2167c5f79dcfe63353e8e4af884acf878d42da (patch)
tree1c18b9160c2149391ce2261e5c9f09bb91f13f55 /json.hpp
parent331ec4e073d5205e04a4ef6f1203fb625114231a (diff)
Dump enums and pointers correctly.
Diffstat (limited to 'json.hpp')
-rw-r--r--json.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/json.hpp b/json.hpp
index 4eeed8b5..0bfbabf1 100644
--- a/json.hpp
+++ b/json.hpp
@@ -143,7 +143,7 @@ public:
inline void writeString(const char *s) {
separator();
escapeString(s);
- value = false;
+ value = true;
}
inline void writeNull(void) {