diff options
| author | Sergey Kazenyuk <[email protected]> | 2013-11-05 00:22:41 +0400 |
|---|---|---|
| committer | Sergey Kazenyuk <[email protected]> | 2013-11-05 00:22:41 +0400 |
| commit | e5a2c9794c34261af5ddcb8751913186d9802791 (patch) | |
| tree | a336f59a4b5d52453681a0a5a0d84a9c6a88d9aa /src | |
| parent | Merge pull request #3188 from Diapolo/logtimestamp_def (diff) | |
| download | discoin-e5a2c9794c34261af5ddcb8751913186d9802791.tar.xz discoin-e5a2c9794c34261af5ddcb8751913186d9802791.zip | |
Make time facet non-constant
Diffstat (limited to 'src')
| -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 a5f7a542d..f24e6b8a9 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); |