diff --git a/src/libslic3r/AStar.hpp b/src/libslic3r/AStar.hpp index b35b6a4af..630257a81 100644 --- a/src/libslic3r/AStar.hpp +++ b/src/libslic3r/AStar.hpp @@ -4,11 +4,14 @@ #include // std::isinf() is here #include -#include "libslic3r/Point.hpp" #include "libslic3r/MutablePriorityQueue.hpp" namespace Slic3r { namespace astar { +// Borrowed from C++20 +template +using remove_cvref_t = std::remove_cv_t>; + // Input interface for the Astar algorithm. Specialize this struct for a // particular type and implement all the 4 methods and specify the Node type // to register the new type for the astar implementation.