diff options
author | hjk <qtc-committer@nokia.com> | 2009-08-21 08:18:37 (GMT) |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2009-08-21 08:18:37 (GMT) |
commit | 119a67e338c8e6c3616781cee1027031b667676e (patch) | |
tree | 99700bd2063e1ad766917f3f332bcbd486a36cd1 /src/gui/graphicsview/qsimplex_p.h | |
parent | c7e2ad82ea4cd999e568e2819dea10bf7214eee3 (diff) | |
download | Qt-119a67e338c8e6c3616781cee1027031b667676e.zip Qt-119a67e338c8e6c3616781cee1027031b667676e.tar.gz Qt-119a67e338c8e6c3616781cee1027031b667676e.tar.bz2 |
make the new anchor layout code compile with namespaces
Diffstat (limited to 'src/gui/graphicsview/qsimplex_p.h')
-rw-r--r-- | src/gui/graphicsview/qsimplex_p.h | 5 |
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 |