Skip to content

Commit f1de2b6

Browse files
committed
Move included headers from .h to implementation file.
This prevents namespace pollution.
1 parent 9b0e2ba commit f1de2b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/behaviours/src/PickUpController.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#include "PickUpController.h"
2+
#include <limits> // For numeric limits
3+
#include <cmath> // For hypot
24

35
PickUpController::PickUpController()
46
{

src/behaviours/src/PickUpController.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33

44
#include "Controller.h"
55
#include "Tag.h"
6-
#include <limits> // For numeric limits
7-
#include <cmath> // For hypot
86

97
class PickUpController : virtual Controller
108
{

0 commit comments

Comments
 (0)