Replace all include guards by #pragma once

It’s $CURRENT_YEAR
This commit is contained in:
louiz’
2016-07-04 17:53:53 +02:00
parent 5321d29cbd
commit 81f8f45b37
40 changed files with 101 additions and 124 deletions
+3 -3
View File
@@ -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
+3 -3
View File
@@ -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
+3 -3
View File
@@ -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 */