diff options
author | Sergey Kazenyuk <kazenyuk@gmail.com> | 2013-11-05 00:22:41 +0400 |
---|---|---|
committer | Sergey Kazenyuk <kazenyuk@gmail.com> | 2013-11-05 00:22:41 +0400 |
commit | e5a2c9794c34261af5ddcb8751913186d9802791 (patch) | |
tree | a336f59a4b5d52453681a0a5a0d84a9c6a88d9aa /src/rpcdump.cpp | |
parent | c4f2a002caaa547f62656286db6303d9f40bd885 (diff) |
Make time facet non-constant
Diffstat (limited to 'src/rpcdump.cpp')
-rw-r--r-- | src/rpcdump.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcdump.cpp b/src/rpcdump.cpp index a5f7a542de..f24e6b8a9c 100644 --- a/src/rpcdump.cpp +++ b/src/rpcdump.cpp @@ -26,7 +26,7 @@ std::string static EncodeDumpTime(int64 nTime) { } int64 static DecodeDumpTime(const std::string &str) { - static const boost::posix_time::time_input_facet facet("%Y-%m-%dT%H:%M:%SZ"); + static boost::posix_time::time_input_facet facet("%Y-%m-%dT%H:%M:%SZ"); static const boost::posix_time::ptime epoch = boost::posix_time::from_time_t(0); const std::locale loc(std::locale::classic(), &facet); std::istringstream iss(str); |