diff options
-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_ |