]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
chrono (operator*(const _Rep1&, const duration<>&)): Fix order of template parameters...
authorPaolo Carlini <paolo.carlini@oracle.com>
Wed, 31 Aug 2011 10:29:31 +0000 (10:29 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 31 Aug 2011 10:29:31 +0000 (10:29 +0000)
2011-08-31  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/chrono (operator*(const _Rep1&, const duration<>&)):
Fix order of template parameters per LWG 2004.

From-SVN: r178374

libstdc++-v3/ChangeLog
libstdc++-v3/include/std/chrono

index dac79834adcb359631afe575286d7b18b8ccffb5..9fc043de47632c8e9d8f2d142a765833a65ef967 100644 (file)
@@ -1,3 +1,8 @@
+2011-08-31  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/std/chrono (operator*(const _Rep1&, const duration<>&)):
+       Fix order of template parameters per LWG 2004.
+
 2011-08-30  Paolo Carlini  <paolo.carlini@oracle.com>
 
        * include/bits/stl_iterator.h (make_move_iterator): Implement DR2061.
index 4d2241ae475efee412d85c4daa3f5cd6d4c14c2c..6a087f51a2fc3a14d181e36d02ca1a842083fe19 100644 (file)
@@ -395,7 +395,7 @@ _GLIBCXX_END_NAMESPACE_VERSION
        return __cd(__cd(__d).count() * __s);
       }
 
-    template<typename _Rep1, typename _Period, typename _Rep2>
+    template<typename _Rep1, typename _Rep2, typename _Period>
       constexpr
       duration<typename __common_rep_type<_Rep2, _Rep1>::type, _Period>
       operator*(const _Rep1& __s, const duration<_Rep2, _Period>& __d)