summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-02-14 15:09:31 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-02-14 15:09:31 +0000
commitd0a5139a5eaf1133744b148e33cdcf5a2e846726 (patch)
treea66316fc9d344ef6d2d8a17aba2708d3fe85875e
parentNew standard ice install path (diff)
downloadslicer-1.10.7.tar.bz2
slicer-1.10.7.tar.xz
slicer-1.10.7.zip
Tidy includesslicer-1.10.7
-rw-r--r--iwyu.json2
-rw-r--r--slicer/json/serializer.cpp1
-rw-r--r--slicer/slicer/serializer.h3
3 files changed, 3 insertions, 3 deletions
diff --git a/iwyu.json b/iwyu.json
index ddb8514..230ef57 100644
--- a/iwyu.json
+++ b/iwyu.json
@@ -240,6 +240,6 @@
]
},
{
- "ref": "/usr/lib/llvm/12/share/include-what-you-use/boost-all-private.imp"
+ "ref": "/usr/lib/llvm/13/share/include-what-you-use/boost-all-private.imp"
}
]
diff --git a/slicer/json/serializer.cpp b/slicer/json/serializer.cpp
index a485feb..6d99725 100644
--- a/slicer/json/serializer.cpp
+++ b/slicer/json/serializer.cpp
@@ -1,7 +1,6 @@
#include "serializer.h"
#include <Ice/Config.h>
#include <boost/numeric/conversion/cast.hpp>
-#include <cmath>
#include <factory.h>
#include <fstream> // IWYU pragma: keep
#include <functional>
diff --git a/slicer/slicer/serializer.h b/slicer/slicer/serializer.h
index cb0a591..27d70a6 100644
--- a/slicer/slicer/serializer.h
+++ b/slicer/slicer/serializer.h
@@ -2,12 +2,13 @@
#define SLICER_SERIALIZER_H
#include <c++11Helpers.h>
-#include <factory.h>
+#include <factory.h> // IWYU pragma: keep
#include <filesystem>
#include <iosfwd>
#include <memory>
#include <slicer/modelParts.h>
#include <visibility.h>
+// IWYU pragma: no_include "factory.impl.h"
namespace Slicer {
class DLL_PUBLIC Serializer {