From 4dd32ce143b80b023df17656e1e24de90d59bfee Mon Sep 17 00:00:00 2001 From: wmayer Date: Mon, 27 Jul 2020 11:16:41 +0200 Subject: [PATCH] LGTM: [skip ci] fix: Missing header guard --- src/Mod/Path/App/PathSegmentWalker.h | 6 ++++++ src/Mod/Sketcher/Gui/GeometryCreationMode.h | 4 ++++ src/boost_bind_bind.hpp | 3 +++ 3 files changed, 13 insertions(+) diff --git a/src/Mod/Path/App/PathSegmentWalker.h b/src/Mod/Path/App/PathSegmentWalker.h index 993d6fd955..2272d31945 100644 --- a/src/Mod/Path/App/PathSegmentWalker.h +++ b/src/Mod/Path/App/PathSegmentWalker.h @@ -21,6 +21,10 @@ * * *************************************************************************** */ + +#ifndef PATHSEGMENTWALKER_H +#define PATHSEGMENTWALKER_H + #include #include @@ -67,3 +71,5 @@ private: } + +#endif // PATHSEGMENTWALKER_H diff --git a/src/Mod/Sketcher/Gui/GeometryCreationMode.h b/src/Mod/Sketcher/Gui/GeometryCreationMode.h index 6c838865db..60b3c80f09 100644 --- a/src/Mod/Sketcher/Gui/GeometryCreationMode.h +++ b/src/Mod/Sketcher/Gui/GeometryCreationMode.h @@ -20,6 +20,8 @@ * * ***************************************************************************/ +#ifndef SKETCHERGUI_GEOMETRYCREATIONMODE_H +#define SKETCHERGUI_GEOMETRYCREATIONMODE_H /***** Creation Mode ************/ namespace SketcherGui @@ -29,3 +31,5 @@ namespace SketcherGui Construction }; } + +#endif //SKETCHERGUI_GEOMETRYCREATIONMODE_H diff --git a/src/boost_bind_bind.hpp b/src/boost_bind_bind.hpp index ef02d253f3..4fc292c295 100644 --- a/src/boost_bind_bind.hpp +++ b/src/boost_bind_bind.hpp @@ -1,3 +1,5 @@ +#ifndef FREECAD_BIND_BIND_HPP_WORKAROUND +#define FREECAD_BIND_BIND_HPP_WORKAROUND // Workaround for boost older than 1.60 #ifndef BOOST_BIND_BIND_HPP_INCLUDED @@ -19,3 +21,4 @@ namespace boost { namespace placeholders { }}; #endif +#endif // #ifndef FREECAD_BIND_BIND_HPP_WORKAROUND