Convert to pragma once

This commit is contained in:
Jack Andersen 2018-10-06 17:42:04 -10:00
parent 349263a88c
commit 500f88d7a7
4 changed files with 4 additions and 12 deletions

View File

@ -1,5 +1,4 @@
#ifndef JBUS_COMMON_HPP #pragma once
#define JBUS_COMMON_HPP
#include <functional> #include <functional>
#include <cstdint> #include <cstdint>
@ -185,4 +184,3 @@ void Initialize();
} }
#endif // JBUS_COMMON_HPP

View File

@ -1,5 +1,4 @@
#ifndef JBUS_ENDPOINT_HPP #pragma once
#define JBUS_ENDPOINT_HPP
#include "Common.hpp" #include "Common.hpp"
#include "Socket.hpp" #include "Socket.hpp"
@ -281,4 +280,3 @@ public:
} }
#endif // JBUS_ENDPOINT_HPP

View File

@ -1,5 +1,4 @@
#ifndef JBUS_LISTENER_HPP #pragma once
#define JBUS_LISTENER_HPP
#include "Common.hpp" #include "Common.hpp"
#include "Socket.hpp" #include "Socket.hpp"
@ -41,4 +40,3 @@ public:
} }
#endif // JBUS_LISTENER_HPP

View File

@ -1,5 +1,4 @@
#ifndef JBUS_SOCKET_HPP #pragma once
#define JBUS_SOCKET_HPP
#include <sys/types.h> #include <sys/types.h>
#include <fcntl.h> #include <fcntl.h>
@ -101,4 +100,3 @@ public:
} }
#endif // ATHENA_SOCKET_HPP