Fix to be compiled by clang++-3.4
Clang++-3.4 is starting to enforce the following item of C++11 standard, thus it's making lean not compiling: It's illegal in C++11: §8.3.6.4 [dcl.fct.default] "If a friend declaration specifies a default argument expression, that declaration shall be a definition and shall be the only declaration of the function or function template in the translation unit."
This commit is contained in:
parent
8e9bd9ee67
commit
0ef633a3c5
1 changed files with 2 additions and 2 deletions
|
@ -187,7 +187,7 @@ public:
|
||||||
|
|
||||||
friend format compose(format const & f1, format const & f2);
|
friend format compose(format const & f1, format const & f2);
|
||||||
friend format nest(int i, format const & f);
|
friend format nest(int i, format const & f);
|
||||||
friend format highlight(format const & f, format::format_color const c = RED);
|
friend format highlight(format const & f, format::format_color const c);
|
||||||
friend format mk_line();
|
friend format mk_line();
|
||||||
|
|
||||||
friend format group(format const & f);
|
friend format group(format const & f);
|
||||||
|
@ -224,7 +224,7 @@ public:
|
||||||
format wrap(format const & f1, format const & f2);
|
format wrap(format const & f1, format const & f2);
|
||||||
format compose(format const & f1, format const & f2);
|
format compose(format const & f1, format const & f2);
|
||||||
format nest(int i, format const & f);
|
format nest(int i, format const & f);
|
||||||
format highlight(format const & f, format::format_color const c);
|
format highlight(format const & f, format::format_color const c = format::RED);
|
||||||
format highlight_keyword(format const & f);
|
format highlight_keyword(format const & f);
|
||||||
format highlight_builtin(format const & f);
|
format highlight_builtin(format const & f);
|
||||||
format highlight_command(format const & f);
|
format highlight_command(format const & f);
|
||||||
|
|
Loading…
Reference in a new issue