Commit f77bca9a by Jonathan Wakely Committed by Jonathan Wakely

Fix compilation failure with C++98 compilers

	* opt-problem.h (opt_wrapper): Use template-argument-list when naming
	the base class, because using the injected-class-name was not clearly
	specified until DR 176.

From-SVN: r265140
parent 3ea54ea1
2018-10-13 Jonathan Wakely <jwakely@redhat.com>
* opt-problem.h (opt_wrapper): Use template-argument-list when naming
the base class, because using the injected-class-name was not clearly
specified until DR 176.
2018-10-12 Paul Koning <ni1d@arrl.net> 2018-10-12 Paul Koning <ni1d@arrl.net>
* config/pdp11/pdp11.md (doloop_end): New expander. * config/pdp11/pdp11.md (doloop_end): New expander.
...@@ -214,7 +214,7 @@ class opt_result : public opt_wrapper <bool> ...@@ -214,7 +214,7 @@ class opt_result : public opt_wrapper <bool>
/* Private ctor. Instances should be created by the success and failure /* Private ctor. Instances should be created by the success and failure
static member functions. */ static member functions. */
opt_result (wrapped_t result, opt_problem *problem) opt_result (wrapped_t result, opt_problem *problem)
: opt_wrapper (result, problem) : opt_wrapper <bool> (result, problem)
{} {}
}; };
......
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