Replace all include guards by #pragma once

It’s $CURRENT_YEAR
This commit is contained in:
louiz’
2016-07-04 17:53:53 +02:00
parent 5321d29cbd
commit 81f8f45b37
40 changed files with 101 additions and 124 deletions
+3 -3
View File
@@ -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
+3 -3
View File
@@ -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
+3 -3
View File
@@ -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
+3 -3
View File
@@ -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
+3 -3
View File
@@ -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