From dbb45bf915039d806c7827d715b3153efc8d6105 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Wed, 31 Aug 2011 10:29:31 +0000 Subject: [PATCH] chrono (operator*(const _Rep1&, const duration<>&)): Fix order of template parameters per LWG 2004. 2011-08-31 Paolo Carlini * include/std/chrono (operator*(const _Rep1&, const duration<>&)): Fix order of template parameters per LWG 2004. From-SVN: r178374 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/include/std/chrono | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index dac79834adcb..9fc043de4763 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2011-08-31 Paolo Carlini + + * include/std/chrono (operator*(const _Rep1&, const duration<>&)): + Fix order of template parameters per LWG 2004. + 2011-08-30 Paolo Carlini * include/bits/stl_iterator.h (make_move_iterator): Implement DR2061. diff --git a/libstdc++-v3/include/std/chrono b/libstdc++-v3/include/std/chrono index 4d2241ae475e..6a087f51a2fc 100644 --- a/libstdc++-v3/include/std/chrono +++ b/libstdc++-v3/include/std/chrono @@ -395,7 +395,7 @@ _GLIBCXX_END_NAMESPACE_VERSION return __cd(__cd(__d).count() * __s); } - template + template constexpr duration::type, _Period> operator*(const _Rep1& __s, const duration<_Rep2, _Period>& __d) -- 2.47.3