summaryrefslogtreecommitdiff
path: root/src/bridge
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/bridge
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/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 */
+