aboutsummaryrefslogtreecommitdiff
path: root/libbutl/fdstream.mxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-09-23 00:14:37 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-09-23 00:14:37 +0200
commit63d2400a2c1cff42a8e3ea3d8b4c77b862c82bc7 (patch)
tree6c86fc57033b472818bdc89c873b204d8fafbc6e /libbutl/fdstream.mxx
parentc09cd7512491cee1e82c1ad8128ce9fd4bc3f79b (diff)
Undo modularization hacks for VC
Diffstat (limited to 'libbutl/fdstream.mxx')
-rw-r--r--libbutl/fdstream.mxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/libbutl/fdstream.mxx b/libbutl/fdstream.mxx
index f84b88e..b2d4704 100644
--- a/libbutl/fdstream.mxx
+++ b/libbutl/fdstream.mxx
@@ -46,10 +46,9 @@ LIBBUTL_MODEXPORT namespace butl
//
struct nullfd_t {constexpr explicit nullfd_t (int) {}};
#if defined(__cpp_modules) && defined(__clang__) //@@ MOD Clang duplicate sym.
- inline constexpr nullfd_t nullfd (-1);
-#else
- const/*expr*/ nullfd_t nullfd (-1); //@@ MOD VC multiple defs.
+ inline
#endif
+ constexpr nullfd_t nullfd (-1);
class LIBBUTL_SYMEXPORT auto_fd
{