summaryrefslogtreecommitdiff
path: root/src/json.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-06-22 01:10:38 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-06-22 01:10:38 +0900
commit07d270c87e6f9184aea4ca17eb26e466712e8db2 (patch)
tree2dfbaa2e0d2ad0f38cb73098608f7d67a64320f8 /src/json.cc
parent126a4bde612eb0e6c48cf2f13ebe3eac45cc71a8 (diff)
Require -std=c++11 and use std::shared_ptr instead of SharedHandle
Diffstat (limited to 'src/json.cc')
-rw-r--r--src/json.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json.cc b/src/json.cc
index 78463fc3..131b9755 100644
--- a/src/json.cc
+++ b/src/json.cc
@@ -85,7 +85,7 @@ std::string jsonEscape(const std::string& s)
}
// Serializes JSON object or array.
-std::string encode(const SharedHandle<ValueBase>& json)
+std::string encode(const std::shared_ptr<ValueBase>& json)
{
std::ostringstream out;
return encode(out, json.get()).str();