summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/bits/random.h
diff options
context:
space:
mode:
authordrepper <drepper@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-30 16:33:09 +0000
committerdrepper <drepper@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-30 16:33:09 +0000
commitcd44283bb10e4f7ecd4e8f3ceb48c7ac629bf7b6 (patch)
treeeb194b60ff4bbf0a5015756a38741c27851b9e75 /libstdc++-v3/include/bits/random.h
parent707798c1db82ca9f0a55a7189e6a6ca46502037e (diff)
downloadppe42-gcc-cd44283bb10e4f7ecd4e8f3ceb48c7ac629bf7b6.tar.gz
ppe42-gcc-cd44283bb10e4f7ecd4e8f3ceb48c7ac629bf7b6.zip
* include/bits/random.h (random_device) [GLIBCXX_USE_RANDOM_TR1]:
Remove 'return' from constructor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190806 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/bits/random.h')
-rw-r--r--libstdc++-v3/include/bits/random.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/random.h b/libstdc++-v3/include/bits/random.h
index 79a56a65464..e9b99718f97 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:
OpenPOWER on IntegriCloud