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
2 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue