summaryrefslogtreecommitdiff
path: root/src/xmpp
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/xmpp
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/xmpp')
-rw-r--r--src/xmpp/biboumi_adhoc_commands.hpp6
-rw-r--r--src/xmpp/biboumi_component.hpp6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/xmpp/biboumi_adhoc_commands.hpp b/src/xmpp/biboumi_adhoc_commands.hpp
index ffa8be4..2763a9f 100644
--- a/src/xmpp/biboumi_adhoc_commands.hpp
+++ b/src/xmpp/biboumi_adhoc_commands.hpp
@@ -1,5 +1,5 @@
-#ifndef BIBOUMI_ADHOC_COMMANDS_HPP_INCLUDED
-#define BIBOUMI_ADHOC_COMMANDS_HPP_INCLUDED
+#pragma once
+
#include <xmpp/adhoc_command.hpp>
#include <xmpp/adhoc_session.hpp>
@@ -20,4 +20,4 @@ void DisconnectUserFromServerStep1(XmppComponent&, AdhocSession& session, XmlNod
void DisconnectUserFromServerStep2(XmppComponent&, AdhocSession& session, XmlNode& command_node);
void DisconnectUserFromServerStep3(XmppComponent&, AdhocSession& session, XmlNode& command_node);
-#endif /* BIBOUMI_ADHOC_COMMANDS_HPP_INCLUDED */
+
diff --git a/src/xmpp/biboumi_component.hpp b/src/xmpp/biboumi_component.hpp
index 0eb3bc4..24d768a 100644
--- a/src/xmpp/biboumi_component.hpp
+++ b/src/xmpp/biboumi_component.hpp
@@ -1,5 +1,5 @@
-#ifndef BIBOUMI_COMPONENT_INCLUDED
-# define BIBOUMI_COMPONENT_INCLUDED
+#pragma once
+
#include <xmpp/xmpp_component.hpp>
@@ -106,4 +106,4 @@ private:
AdhocCommandsHandler irc_channel_adhoc_commands_handler;
};
-#endif // BIBOUMI_COMPONENT_INCLUDED
+