From 500f88d7a70c5118b05209ca2e513f8440606a04 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Sat, 6 Oct 2018 17:42:04 -1000 Subject: [PATCH] Convert to pragma once --- include/jbus/Common.hpp | 4 +--- include/jbus/Endpoint.hpp | 4 +--- include/jbus/Listener.hpp | 4 +--- include/jbus/Socket.hpp | 4 +--- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/include/jbus/Common.hpp b/include/jbus/Common.hpp index e3db8bb..9c3de8d 100644 --- a/include/jbus/Common.hpp +++ b/include/jbus/Common.hpp @@ -1,5 +1,4 @@ -#ifndef JBUS_COMMON_HPP -#define JBUS_COMMON_HPP +#pragma once #include #include @@ -185,4 +184,3 @@ void Initialize(); } -#endif // JBUS_COMMON_HPP diff --git a/include/jbus/Endpoint.hpp b/include/jbus/Endpoint.hpp index 2d18e34..43c7d62 100644 --- a/include/jbus/Endpoint.hpp +++ b/include/jbus/Endpoint.hpp @@ -1,5 +1,4 @@ -#ifndef JBUS_ENDPOINT_HPP -#define JBUS_ENDPOINT_HPP +#pragma once #include "Common.hpp" #include "Socket.hpp" @@ -281,4 +280,3 @@ public: } -#endif // JBUS_ENDPOINT_HPP diff --git a/include/jbus/Listener.hpp b/include/jbus/Listener.hpp index 027a13c..d1de3d2 100644 --- a/include/jbus/Listener.hpp +++ b/include/jbus/Listener.hpp @@ -1,5 +1,4 @@ -#ifndef JBUS_LISTENER_HPP -#define JBUS_LISTENER_HPP +#pragma once #include "Common.hpp" #include "Socket.hpp" @@ -41,4 +40,3 @@ public: } -#endif // JBUS_LISTENER_HPP diff --git a/include/jbus/Socket.hpp b/include/jbus/Socket.hpp index f6b755e..57d3146 100644 --- a/include/jbus/Socket.hpp +++ b/include/jbus/Socket.hpp @@ -1,5 +1,4 @@ -#ifndef JBUS_SOCKET_HPP -#define JBUS_SOCKET_HPP +#pragma once #include #include @@ -101,4 +100,3 @@ public: } -#endif // ATHENA_SOCKET_HPP