Skip to content

Commit 4e9f0da

Browse files
committed
Nest microfmt in the cpptrace namespace due to conditionally-enabled C++17 behavior causing ODR issues, related to jeremy-rifkin/libassert#103
1 parent 4f94f20 commit 4e9f0da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/utils/microfmt.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
// https://github.com/jeremy-rifkin/microfmt
1818
// Format: {[align][width][:[fill][base]]} # width: number or {}
1919

20+
namespace cpptrace {
2021
namespace microfmt {
2122
namespace detail {
2223
inline std::uint64_t clz(std::uint64_t value) {
@@ -301,5 +302,6 @@ namespace microfmt {
301302
fwrite(str.data(), 1, str.size(), stream);
302303
}
303304
}
305+
}
304306

305307
#endif

0 commit comments

Comments
 (0)