Skip to content

Commit 69d3b3f

Browse files
author
Ryan Haining
committed
Removes anonymous namespace around chain definition
Fixes #104
1 parent 87ad8a0 commit 69d3b3f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cppitertools/chain.hpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -343,9 +343,7 @@ class iter::impl::ChainMaker {
343343
};
344344

345345
namespace iter {
346-
namespace {
347-
constexpr auto chain = iter::impl::ChainMaker{};
348-
}
346+
inline constexpr auto chain = iter::impl::ChainMaker{};
349347
}
350348

351349
#endif

0 commit comments

Comments
 (0)