Cleanup includes in kimath
This commit is contained in:
parent
a6ebd60c3b
commit
bc28287fa7
|
@ -45,8 +45,7 @@ target_include_directories( kimath PUBLIC
|
|||
${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||
)
|
||||
|
||||
# core/optional.h is needed for OPT types
|
||||
target_include_directories( kimath PRIVATE
|
||||
${PROJECT_SOURCE_DIR}/include
|
||||
${PROJECT_SOURCE_DIR}/include # core/kicad_algo.h is needed for shape_arc
|
||||
${wxWidgets_LIBRARIES}
|
||||
)
|
||||
|
|
|
@ -29,10 +29,10 @@
|
|||
|
||||
#include <math.h> // for sqrt
|
||||
#include <stdlib.h> // for abs
|
||||
#include <optional>
|
||||
#include <ostream> // for operator<<, ostream, basic_os...
|
||||
#include <type_traits> // for swap
|
||||
|
||||
#include <optional>
|
||||
#include <math/vector2d.h>
|
||||
#include <geometry/eda_angle.h>
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
|
||||
#include <cstdio>
|
||||
#include <deque> // for deque
|
||||
#include <vector> // for vector
|
||||
#include <iosfwd> // for string, stringstream
|
||||
#include <memory>
|
||||
#include <set> // for set
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
#ifndef __BOX2_H
|
||||
#define __BOX2_H
|
||||
|
||||
#include <limits>
|
||||
#include <algorithm>
|
||||
#include <limits>
|
||||
#include <optional>
|
||||
|
||||
#include <math/vector2d.h>
|
||||
|
|
Loading…
Reference in New Issue