Remove redundant header from Astar
This commit is contained in:
parent
a68dcb68a3
commit
9da14ba321
@ -4,11 +4,14 @@
|
|||||||
#include <cmath> // std::isinf() is here
|
#include <cmath> // std::isinf() is here
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
|
||||||
#include "libslic3r/Point.hpp"
|
|
||||||
#include "libslic3r/MutablePriorityQueue.hpp"
|
#include "libslic3r/MutablePriorityQueue.hpp"
|
||||||
|
|
||||||
namespace Slic3r { namespace astar {
|
namespace Slic3r { namespace astar {
|
||||||
|
|
||||||
|
// Borrowed from C++20
|
||||||
|
template<class T>
|
||||||
|
using remove_cvref_t = std::remove_cv_t<std::remove_reference_t<T>>;
|
||||||
|
|
||||||
// Input interface for the Astar algorithm. Specialize this struct for a
|
// Input interface for the Astar algorithm. Specialize this struct for a
|
||||||
// particular type and implement all the 4 methods and specify the Node type
|
// particular type and implement all the 4 methods and specify the Node type
|
||||||
// to register the new type for the astar implementation.
|
// to register the new type for the astar implementation.
|
||||||
|
Loading…
Reference in New Issue
Block a user