Replace all include guards by #pragma once
It’s $CURRENT_YEAR
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef BIBOUMI_CREDENTIALS_MANAGER_HPP
|
||||
#define BIBOUMI_CREDENTIALS_MANAGER_HPP
|
||||
#pragma once
|
||||
|
||||
#include "louloulibs.h"
|
||||
|
||||
@@ -37,4 +36,4 @@ private:
|
||||
};
|
||||
|
||||
#endif //BOTAN_FOUND
|
||||
#endif //BIBOUMI_CREDENTIALS_MANAGER_HPP
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef DNS_HANDLER_HPP_INCLUDED
|
||||
#define DNS_HANDLER_HPP_INCLUDED
|
||||
#pragma once
|
||||
|
||||
#include <louloulibs.h>
|
||||
#ifdef CARES_FOUND
|
||||
@@ -56,4 +55,3 @@ private:
|
||||
};
|
||||
|
||||
#endif /* CARES_FOUND */
|
||||
#endif /* DNS_HANDLER_HPP_INCLUDED */
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef DNS_SOCKET_HANDLER_HPP
|
||||
# define DNS_SOCKET_HANDLER_HPP
|
||||
#pragma once
|
||||
|
||||
#include <louloulibs.h>
|
||||
#ifdef CARES_FOUND
|
||||
@@ -44,4 +43,3 @@ private:
|
||||
};
|
||||
|
||||
#endif // CARES_FOUND
|
||||
#endif // DNS_SOCKET_HANDLER_HPP
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef POLLER_INCLUDED
|
||||
# define POLLER_INCLUDED
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <network/socket_handler.hpp>
|
||||
|
||||
@@ -91,4 +91,4 @@ private:
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif // POLLER_INCLUDED
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef RESOLVER_HPP_INCLUDED
|
||||
#define RESOLVER_HPP_INCLUDED
|
||||
#pragma once
|
||||
|
||||
|
||||
#include "louloulibs.h"
|
||||
|
||||
@@ -125,4 +125,4 @@ private:
|
||||
|
||||
std::string addr_to_string(const struct addrinfo* rp);
|
||||
|
||||
#endif /* RESOLVER_HPP_INCLUDED */
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef SOCKET_HANDLER_HPP
|
||||
# define SOCKET_HANDLER_HPP
|
||||
#pragma once
|
||||
|
||||
#include <louloulibs.h>
|
||||
#include <memory>
|
||||
@@ -41,4 +40,3 @@ protected:
|
||||
socket_t socket;
|
||||
};
|
||||
|
||||
#endif // SOCKET_HANDLER_HPP
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef SOCKET_HANDLER_INCLUDED
|
||||
# define SOCKET_HANDLER_INCLUDED
|
||||
#pragma once
|
||||
|
||||
|
||||
#include "louloulibs.h"
|
||||
|
||||
@@ -270,5 +270,5 @@ private:
|
||||
#endif // BOTAN_FOUND
|
||||
};
|
||||
|
||||
#endif // SOCKET_HANDLER_INCLUDED
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user