Replace all include guards by #pragma once
It’s $CURRENT_YEAR
This commit is contained in:
+3
-3
@@ -1,5 +1,5 @@
|
||||
#ifndef IID_INCLUDED
|
||||
# define IID_INCLUDED
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -76,4 +76,4 @@ namespace std {
|
||||
const std::string to_string(const Iid& iid);
|
||||
}
|
||||
|
||||
#endif // IID_INCLUDED
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef IRC_CHANNEL_INCLUDED
|
||||
# define IRC_CHANNEL_INCLUDED
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <irc/irc_user.hpp>
|
||||
#include <memory>
|
||||
@@ -67,4 +67,4 @@ public:
|
||||
bool joining;
|
||||
};
|
||||
|
||||
#endif // IRC_CHANNEL_INCLUDED
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef IRC_CLIENT_INCLUDED
|
||||
# define IRC_CLIENT_INCLUDED
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <irc/irc_message.hpp>
|
||||
#include <irc/irc_channel.hpp>
|
||||
@@ -380,4 +380,4 @@ private:
|
||||
Resolver dns_resolver;
|
||||
};
|
||||
|
||||
#endif // IRC_CLIENT_INCLUDED
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef IRC_MESSAGE_INCLUDED
|
||||
# define IRC_MESSAGE_INCLUDED
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
@@ -25,4 +25,4 @@ public:
|
||||
|
||||
std::ostream& operator<<(std::ostream& os, const IrcMessage& message);
|
||||
|
||||
#endif // IRC_MESSAGE_INCLUDED
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef IRC_USER_INCLUDED
|
||||
# define IRC_USER_INCLUDED
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
@@ -30,4 +30,4 @@ public:
|
||||
std::set<char> modes;
|
||||
};
|
||||
|
||||
#endif // IRC_USER_INCLUDED
|
||||
|
||||
|
||||
Reference in New Issue
Block a user