summaryrefslogtreecommitdiff
path: root/src/bridge
diff options
context:
space:
mode:
Diffstat (limited to 'src/bridge')
-rw-r--r--src/bridge/bridge.hpp6
-rw-r--r--src/bridge/colors.hpp6
-rw-r--r--src/bridge/list_element.hpp6
3 files changed, 9 insertions, 9 deletions
diff --git a/src/bridge/bridge.hpp b/src/bridge/bridge.hpp
index f8eea94..69b7bd5 100644
--- a/src/bridge/bridge.hpp
+++ b/src/bridge/bridge.hpp
@@ -1,5 +1,5 @@
-#ifndef BRIDGE_INCLUDED
-# define BRIDGE_INCLUDED
+#pragma once
+
#include <irc/irc_message.hpp>
#include <irc/irc_client.hpp>
@@ -290,4 +290,4 @@ struct IRCNotConnected: public std::exception
const std::string hostname;
};
-#endif // BRIDGE_INCLUDED
+
diff --git a/src/bridge/colors.hpp b/src/bridge/colors.hpp
index 2ba80ee..e2c8a87 100644
--- a/src/bridge/colors.hpp
+++ b/src/bridge/colors.hpp
@@ -1,5 +1,5 @@
-#ifndef COLORS_INCLUDED
-# define COLORS_INCLUDED
+#pragma once
+
/**
* A module handling the conversion between IRC colors and XHTML-IM, and
@@ -53,4 +53,4 @@ static const char irc_format_char[] = {
*/
Xmpp::body irc_format_to_xhtmlim(const std::string& str);
-#endif // COLORS_INCLUDED
+
diff --git a/src/bridge/list_element.hpp b/src/bridge/list_element.hpp
index bd28185..1eff2ee 100644
--- a/src/bridge/list_element.hpp
+++ b/src/bridge/list_element.hpp
@@ -1,5 +1,5 @@
-#ifndef LIST_ELEMENT_HPP_INCLUDED
-#define LIST_ELEMENT_HPP_INCLUDED
+#pragma once
+
#include <string>
@@ -16,4 +16,4 @@ struct ListElement
std::string topic;
};
-#endif /* LIST_ELEMENT_HPP_INCLUDED */
+