diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-16 09:24:50 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-16 09:24:50 +0200 |
commit | 63c6e31ba70170029549d60b6ce3b235692ccc80 (patch) | |
tree | 54401bd3a4d1b5b8adf9f21afb389da9fd68b081 /src/modules/navigator/navigator_mode.h | |
parent | 3ca15ab157b395b00ff225e419ae662551bc6b81 (diff) | |
download | px4-firmware-63c6e31ba70170029549d60b6ce3b235692ccc80.tar.gz px4-firmware-63c6e31ba70170029549d60b6ce3b235692ccc80.tar.bz2 px4-firmware-63c6e31ba70170029549d60b6ce3b235692ccc80.zip |
Fix the most obvious compile warnings
Diffstat (limited to 'src/modules/navigator/navigator_mode.h')
-rw-r--r-- | src/modules/navigator/navigator_mode.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/navigator/navigator_mode.h b/src/modules/navigator/navigator_mode.h index a7ba79bba..de5545dcb 100644 --- a/src/modules/navigator/navigator_mode.h +++ b/src/modules/navigator/navigator_mode.h @@ -88,6 +88,12 @@ protected: private: bool _first_run; + + /* this class has ptr data members, so it should not be copied, + * consequently the copy constructors are private. + */ + NavigatorMode(const NavigatorMode&); + NavigatorMode operator=(const NavigatorMode&); }; #endif |