aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-11-23 14:41:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-11-23 14:41:18 +0200
commit9ff0b2c287e522c5a7df508fbddfaacffda9e644 (patch)
treea7fb3dc611cea2934748d6f71daefe995959ba36
parent290ea7840c979e38a2108030a99e7e9c61f40a8c (diff)
Use static inline variable for iostream init in libstdc++
-rw-r--r--libstd-modules/std-core.mxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstd-modules/std-core.mxx b/libstd-modules/std-core.mxx
index c3f3566..d723320 100644
--- a/libstd-modules/std-core.mxx
+++ b/libstd-modules/std-core.mxx
@@ -109,7 +109,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
extern ostream cerr;
extern ostream clog;
- //static ios_base::Init __ioinit;
+ static inline ios_base::Init __ioinit;
_GLIBCXX_END_NAMESPACE_VERSION
}
#endif