Skip to content
Snippets Groups Projects
Commit acfc543d authored by Norihiro Watanabe's avatar Norihiro Watanabe
Browse files

surround Boost include with #ifndef Q_MOC_RUN

parent eb3d29a4
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,9 @@ ...@@ -17,7 +17,9 @@
#include <omp.h> #include <omp.h>
#endif #endif
#ifndef Q_MOC_RUN // to avoid Qt bug, https://bugreports.qt.io/browse/QTBUG-22829
#include <boost/math/constants/constants.hpp> #include <boost/math/constants/constants.hpp>
#endif
namespace MathLib namespace MathLib
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment