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