mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
90a75549c3
commit
25270f5e5a
|
|
@ -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>
|
2012-08-30 Benjamin Kosnik <bkoz@redhat.com>
|
||||||
|
|
||||||
* testsuite/util/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.18.
|
* testsuite/util/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.18.
|
||||||
|
|
|
||||||
|
|
@ -1587,7 +1587,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||||
|
|
||||||
explicit
|
explicit
|
||||||
random_device(const std::string& __token = "mt19937")
|
random_device(const std::string& __token = "mt19937")
|
||||||
{ return _M_init_pretr1(__token); }
|
{ _M_init_pretr1(__token); }
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue