diff options
| author | Gavin Andresen <[email protected]> | 2013-11-04 16:50:55 -0800 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2013-11-04 16:50:55 -0800 |
| commit | 63bea1d2e644e930900fc7225359c0772eff4aa4 (patch) | |
| tree | f401f18eaee28e44b2ddca73dcbe64912e08f5ef /src/rpcdump.cpp | |
| parent | Merge pull request #3197 from laanwj/2013_11_qt_license (diff) | |
| parent | Make time facet non-constant (diff) | |
| download | discoin-63bea1d2e644e930900fc7225359c0772eff4aa4.tar.xz discoin-63bea1d2e644e930900fc7225359c0772eff4aa4.zip | |
Merge pull request #3198 from nvmd/compile_on_mavericks
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 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); |