Skip to content
Snippets Groups Projects
Commit b8d06c27 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

nlohmannjson: use full header where needed

These headers end up using non-reference, non-pointer mentions of the
nlohmannjson types, so they need the full header, not the forward decl
header.
parent f31c5176
No related branches found
No related tags found
No related merge requests found
......@@ -23,8 +23,8 @@
#include "vtkWeakPointer.h" // for vtkWeakPointer
// clang-format off
#include "vtk_nlohmannjson.h" // for json
#include VTK_NLOHMANN_JSON(json_fwd.hpp) // for json
#include "vtk_nlohmannjson.h" // for json
#include VTK_NLOHMANN_JSON(json.hpp) // for json
// clang-format on
#include <memory> // for unique_ptr
......
......@@ -15,7 +15,7 @@
// clang-format off
#include "vtk_nlohmannjson.h" // for json
#include VTK_NLOHMANN_JSON(json_fwd.hpp) // for json
#include VTK_NLOHMANN_JSON(json.hpp) // for json
// clang-format on
#include <memory> // for unique_ptr
......
......@@ -28,7 +28,7 @@
// clang-format off
#include "vtk_nlohmannjson.h"
#include VTK_NLOHMANN_JSON(json_fwd.hpp)
#include VTK_NLOHMANN_JSON(json.hpp)
// clang-format on
VTK_ABI_NAMESPACE_BEGIN
......
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