diff options
-rw-r--r-- | p2pvr/ice/commonHelpers.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/p2pvr/ice/commonHelpers.cpp b/p2pvr/ice/commonHelpers.cpp index 8f5519a..95d4ad6 100644 --- a/p2pvr/ice/commonHelpers.cpp +++ b/p2pvr/ice/commonHelpers.cpp @@ -5,8 +5,8 @@ namespace AdHoc { template<const char * const & S, int start, typename stream, char size, char pad, char ... sn> - struct StreamWriter<S, start, stream, '%', size, pad, sn...> : - public StreamWriterBase<S, start, BOOST_PP_VARIADIC_SIZE(C) + 1, stream, sn...> { + struct StreamWriter<S, start, stream, '%', size, pad, 'p', sn...> : + public StreamWriterBase<S, start, 4, stream, sn...> { template<typename P, typename ... Pn> static void write(stream & s, const P & p, const Pn & ... pn) { @@ -17,7 +17,7 @@ namespace AdHoc { } namespace Common { - AdHocFormatter(DateTimeFormat, "%\x40p-%\x20p-%\x20pT%\x20p:%\x20p"); + AdHocFormatter(DateTimeFormat, "%0p-%0p-%0pT%0p:%0p"); std::ostream & operator<<(std::ostream & o, const Common::DateTime & dt) { |