Commit 3438bf7b by Jonathan Wakely Committed by Jonathan Wakely

PR libstdc++/86168 fix ambiguous default constructor

	PR libstdc++/86168
	* include/bits/random.h (random_device(const string&)): Remove
	default argument.

From-SVN: r261636
parent 9e9e6264
2018-06-15 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/86168
* include/bits/random.h (random_device(const string&)): Remove
default argument.
* include/bits/char_traits.h (__cpp_lib_constexpr_char_traits): Only
define for C++17 and above.
......
......@@ -1614,7 +1614,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
random_device() { _M_init("mt19937"); }
explicit
random_device(const std::string& __token = "mt19937")
random_device(const std::string& __token)
{ _M_init_pretr1(__token); }
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment