projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Build fix: missing initializer for member 'rotation_positions'
[lttng-tools.git]
/
src
/
common
/
format.hpp
diff --git
a/src/common/format.hpp
b/src/common/format.hpp
index dace2c027b31a1d9926f63c0fb55f3f4e4f5ed95..020766eb5ddd788dfd7c8114a6bd993e7817cfdf 100644
(file)
--- a/
src/common/format.hpp
+++ b/
src/common/format.hpp
@@
-19,6
+19,10
@@
DIAGNOSTIC_IGNORE_DUPLICATED_BRANCHES
#include <vendor/fmt/core.h>
DIAGNOSTIC_POP
#include <vendor/fmt/core.h>
DIAGNOSTIC_POP
+/*
+ * Due to a bug in g++ < 7.1, this specialization must be enclosed in the fmt namespace,
+ * see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56480.
+ */
namespace fmt {
template <>
struct formatter<std::type_info> : formatter<std::string> {
namespace fmt {
template <>
struct formatter<std::type_info> : formatter<std::string> {
This page took
0.022738 seconds
and
4
git commands to generate.