summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qsimplex_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/graphicsview/qsimplex_p.h')
-rw-r--r--src/gui/graphicsview/qsimplex_p.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qsimplex_p.h b/src/gui/graphicsview/qsimplex_p.h
index dad82ce..e3629df 100644
--- a/src/gui/graphicsview/qsimplex_p.h
+++ b/src/gui/graphicsview/qsimplex_p.h
@@ -17,6 +17,8 @@
#include <QtCore/qhash.h>
#include <QtCore/qpair.h>
+QT_BEGIN_NAMESPACE
+
struct QSimplexVariable
{
QSimplexVariable() : result(0), index(0) {};
@@ -118,5 +120,6 @@ inline void QSimplex::setValueAt(int rowIndex, int columnIndex, qreal value)
matrix[rowIndex * columns + columnIndex] = value;
}
+QT_END_NAMESPACE
-#endif
+#endif // QSIMPLEX_P_H