summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-07-04 17:53:53 +0200
committerlouiz’ <louiz@louiz.org>2016-07-04 17:53:53 +0200
commit81f8f45b371d1a0ef72c2768fbd1f9188fe83616 (patch)
treec885946618afef4e6569a4fbb438e10447e1da4e /src/irc
parent5321d29cbda7d69d306f36d0f84d2c599c85c90e (diff)
downloadbiboumi-81f8f45b371d1a0ef72c2768fbd1f9188fe83616.tar.gz
biboumi-81f8f45b371d1a0ef72c2768fbd1f9188fe83616.tar.bz2
biboumi-81f8f45b371d1a0ef72c2768fbd1f9188fe83616.tar.xz
biboumi-81f8f45b371d1a0ef72c2768fbd1f9188fe83616.zip
Replace all include guards by #pragma once
It’s $CURRENT_YEAR
Diffstat (limited to 'src/irc')
-rw-r--r--src/irc/iid.hpp6
-rw-r--r--src/irc/irc_channel.hpp6
-rw-r--r--src/irc/irc_client.hpp6
-rw-r--r--src/irc/irc_message.hpp6
-rw-r--r--src/irc/irc_user.hpp6
5 files changed, 15 insertions, 15 deletions
diff --git a/src/irc/iid.hpp b/src/irc/iid.hpp
index a55ae21..3b11470 100644
--- a/src/irc/iid.hpp
+++ b/src/irc/iid.hpp
@@ -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
+
diff --git a/src/irc/irc_channel.hpp b/src/irc/irc_channel.hpp
index 3319505..2bcefaf 100644
--- a/src/irc/irc_channel.hpp
+++ b/src/irc/irc_channel.hpp
@@ -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
+
diff --git a/src/irc/irc_client.hpp b/src/irc/irc_client.hpp
index 718d8a7..fc3918e 100644
--- a/src/irc/irc_client.hpp
+++ b/src/irc/irc_client.hpp
@@ -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
+
diff --git a/src/irc/irc_message.hpp b/src/irc/irc_message.hpp
index 29ed946..fe954e4 100644
--- a/src/irc/irc_message.hpp
+++ b/src/irc/irc_message.hpp
@@ -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
+
diff --git a/src/irc/irc_user.hpp b/src/irc/irc_user.hpp
index 4b6cd7a..c84030e 100644
--- a/src/irc/irc_user.hpp
+++ b/src/irc/irc_user.hpp
@@ -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
+