aboutsummaryrefslogtreecommitdiffstats
path: root/src/3rdparty/yoga/YGStyle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/yoga/YGStyle.cpp')
-rw-r--r--src/3rdparty/yoga/YGStyle.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/3rdparty/yoga/YGStyle.cpp b/src/3rdparty/yoga/YGStyle.cpp
index b680800d23..cd7c61bd1d 100644
--- a/src/3rdparty/yoga/YGStyle.cpp
+++ b/src/3rdparty/yoga/YGStyle.cpp
@@ -6,6 +6,8 @@
#include "YGStyle.h"
#include "Utils.h"
+QT_YOGA_NAMESPACE_BEGIN
+
// Yoga specific properties, not compatible with flexbox specification
bool operator==(const YGStyle& lhs, const YGStyle& rhs) {
bool areNonFloatValuesEqual = lhs.direction() == rhs.direction() &&
@@ -52,3 +54,5 @@ bool operator==(const YGStyle& lhs, const YGStyle& rhs) {
return areNonFloatValuesEqual;
}
+
+QT_YOGA_NAMESPACE_END