Nest microfmt in the cpptrace namespace due to conditionally-enabled C++17 behavior causing ODR issues, related to https://github.com/jeremy-rifkin/libassert/issues/103
This commit is contained in:
parent
4f94f20d41
commit
4e9f0da95f
@ -17,6 +17,7 @@
|
|||||||
// https://github.com/jeremy-rifkin/microfmt
|
// https://github.com/jeremy-rifkin/microfmt
|
||||||
// Format: {[align][width][:[fill][base]]} # width: number or {}
|
// Format: {[align][width][:[fill][base]]} # width: number or {}
|
||||||
|
|
||||||
|
namespace cpptrace {
|
||||||
namespace microfmt {
|
namespace microfmt {
|
||||||
namespace detail {
|
namespace detail {
|
||||||
inline std::uint64_t clz(std::uint64_t value) {
|
inline std::uint64_t clz(std::uint64_t value) {
|
||||||
@ -301,5 +302,6 @@ namespace microfmt {
|
|||||||
fwrite(str.data(), 1, str.size(), stream);
|
fwrite(str.data(), 1, str.size(), stream);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user