Use forward declarations in Travel.hpp.

This commit is contained in:
Lukáš Hejl 2023-12-01 11:25:17 +01:00 committed by Martin Šach
parent 1b0ba60280
commit dbd0369767
2 changed files with 11 additions and 3 deletions

View File

@ -1,5 +1,7 @@
#include "Travels.hpp"
#include "libslic3r/PrintConfig.hpp"
namespace Slic3r::GCode::Impl::Travels {
ElevatedTravelFormula::ElevatedTravelFormula(const ElevatedTravelParams &params)

View File

@ -13,10 +13,16 @@
#include <boost/math/special_functions/pow.hpp>
#include "libslic3r/Line.hpp"
#include "libslic3r/Point.hpp"
#include "libslic3r/AABBTreeLines.hpp"
#include "libslic3r/PrintConfig.hpp"
// Forward declarations.
namespace Slic3r {
class Point;
class Linef;
class Polyline;
class FullPrintConfig;
} // namespace Slic3r
namespace Slic3r::GCode::Impl::Travels {
/**