diff options
author | Ulrich Drepper <drepper@gmail.com> | 2012-08-30 16:33:09 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@gcc.gnu.org> | 2012-08-30 16:33:09 +0000 |
commit | 25270f5e5aa6f04e9c1b5cbe484d511b227bcfea (patch) | |
tree | eb194b60ff4bbf0a5015756a38741c27851b9e75 /libstdc++-v3 | |
parent | 90a75549c3e4e900431445ad3751fff444b83ec3 (diff) | |
download | gcc-25270f5e5aa6f04e9c1b5cbe484d511b227bcfea.zip gcc-25270f5e5aa6f04e9c1b5cbe484d511b227bcfea.tar.gz gcc-25270f5e5aa6f04e9c1b5cbe484d511b227bcfea.tar.bz2 |
random.h (random_device): Remove 'return' from constructor.
* include/bits/random.h (random_device) [GLIBCXX_USE_RANDOM_TR1]:
Remove 'return' from constructor.
From-SVN: r190806
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/include/bits/random.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index ce2cb13..74ee2f5 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2012-08-30 Ulrich Drepper <drepper@gmail.com> + + * include/bits/random.h (random_device) [GLIBCXX_USE_RANDOM_TR1]: + Remove 'return' from constructor. + 2012-08-30 Benjamin Kosnik <bkoz@redhat.com> * testsuite/util/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.18. diff --git a/libstdc++-v3/include/bits/random.h b/libstdc++-v3/include/bits/random.h index 79a56a6..e9b9971 100644 --- a/libstdc++-v3/include/bits/random.h +++ b/libstdc++-v3/include/bits/random.h @@ -1587,7 +1587,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION explicit random_device(const std::string& __token = "mt19937") - { return _M_init_pretr1(__token); } + { _M_init_pretr1(__token); } public: |