Skip to content

Commit f45219f

Browse files
authored
#warning anyone including JsonFwd.hpp anymore to tell them to stop (PDAL#4731)
1 parent 6a88946 commit f45219f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pdal/JsonFwd.hpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
#ifndef INCLUDE_NLOHMANN_JSON_FWD_HPP_
22
#define INCLUDE_NLOHMANN_JSON_FWD_HPP_
33

4+
// PDAL no longer exposes nlohmann in its public
5+
// headers due to it changing its type definitions. See
6+
// https://github.com/PDAL/PDAL/pull/4706 for more details. If you have
7+
// this file included in your pdal::Stage definition, you should update
8+
// your code so you no longer need the forward definitions.
9+
#warning "PDAL no longer exposes nlohmann types in its public headers. You can stop including this file and use the nlohmann complete definitions if you need them"
10+
411
#include <cstdint> // int64_t, uint64_t
512
#include <map> // map
613
#include <memory> // allocator

0 commit comments

Comments
 (0)