From 9da14ba3218fdb0e903099a456e7e569ef8f8e7e Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Wed, 26 Oct 2022 16:28:40 +0200 Subject: [PATCH] Remove redundant header from Astar --- src/libslic3r/AStar.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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.