diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-02-01 22:31:06 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-02-01 22:31:06 +0100 |
commit | e6c48bd803be2d27a5522d7247bd8c73c1aa8c15 (patch) | |
tree | ae0cf2bb138529068da4c30c51ee8a65ec968b8e | |
parent | 5d84e05622a1e33904f41bb629bf5e15c4582abf (diff) | |
download | odr-dpd-e6c48bd803be2d27a5522d7247bd8c73c1aa8c15.tar.gz odr-dpd-e6c48bd803be2d27a5522d7247bd8c73c1aa8c15.tar.bz2 odr-dpd-e6c48bd803be2d27a5522d7247bd8c73c1aa8c15.zip |
Add header guards
-rw-r--r-- | AlignSample.hpp | 2 | ||||
-rw-r--r-- | OutputUHD.hpp | 5 | ||||
-rw-r--r-- | pointcloud.hpp | 2 | ||||
-rw-r--r-- | utils.hpp | 4 |
4 files changed, 6 insertions, 7 deletions
diff --git a/AlignSample.hpp b/AlignSample.hpp index f61d0bb..d027823 100644 --- a/AlignSample.hpp +++ b/AlignSample.hpp @@ -21,6 +21,8 @@ along with ODR-DPD. If not, see <http://www.gnu.org/licenses/>. */ +#pragma once + #include "utils.hpp" #include <thread> #include <vector> diff --git a/OutputUHD.hpp b/OutputUHD.hpp index b0288b8..4c7ac12 100644 --- a/OutputUHD.hpp +++ b/OutputUHD.hpp @@ -21,8 +21,7 @@ along with ODR-DPD. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __OUTPUT_UHD_H_ -#define __OUTPUT_UHD_H_ +#pragma once #include <uhd/usrp/multi_usrp.hpp> @@ -50,5 +49,3 @@ class OutputUHD { uhd::rx_streamer::sptr myRxStream; }; -#endif // __OUTPUT_UHD_H_ - diff --git a/pointcloud.hpp b/pointcloud.hpp index 19febe5..62fe6f4 100644 --- a/pointcloud.hpp +++ b/pointcloud.hpp @@ -21,6 +21,8 @@ along with ODR-DPD. If not, see <http://www.gnu.org/licenses/>. */ +#pragma once + #include "utils.hpp" #include <exception> #include <deque> @@ -1,4 +1,4 @@ -#ifndef __UTILS_H_ +#pragma once #include <cstddef> @@ -14,6 +14,4 @@ typedef std::complex<float> complexf; #define MDEBUG(fmt, args...) fprintf (stderr, fmt , ## args) -#define __UTILS_H_ -#endif // __UTILS_H_ |