summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
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
+