Use “using” instead of typedef

This commit is contained in:
Florent Le Coz
2015-10-24 15:21:05 +02:00
parent 2c89b9f193
commit e7a91badcd
+1 -1
View File
@@ -17,7 +17,7 @@ namespace Xmpp
// Contains: // Contains:
// - an XMPP-valid UTF-8 body // - an XMPP-valid UTF-8 body
// - an XML node representing the XHTML-IM body, or null // - an XML node representing the XHTML-IM body, or null
typedef std::tuple<const std::string, std::unique_ptr<XmlNode>> body; using body = std::tuple<const std::string, std::unique_ptr<XmlNode>>;
} }
#define IRC_FORMAT_BOLD_CHAR '\x02' // done #define IRC_FORMAT_BOLD_CHAR '\x02' // done