aboutsummaryrefslogtreecommitdiff
path: root/libbutl/fdstream.mxx
diff options
context:
space:
mode:
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
{