Skip to content

Commit be2fc75

Browse files
author
Fytch
committed
use oldstyle initialization of references because of issues with older compilers
1 parent a10fc11 commit be2fc75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ProgramOptions.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ namespace po {
109109
#endif // PROGRAMOPTIONS_WINDOWS
110110

111111
color_resetter( std::ostream& stream, color_t color )
112-
: m_stream{ stream } {
112+
: m_stream(stream) { // don't use an initializer list here because of gcc-4.8.5
113113
#ifdef PROGRAMOPTIONS_WINDOWS
114114
m_stream << std::flush;
115115
m_console = GetStdHandle( STD_OUTPUT_HANDLE );

0 commit comments

Comments
 (0)