summaryrefslogtreecommitdiff
path: root/louloulibs/xmpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-05-13 01:22:49 +0200
committerlouiz’ <louiz@louiz.org>2016-05-13 01:22:49 +0200
commitfdddd447b3976f26a4146ebf91abfc04736a006b (patch)
tree51768bc3b5a6e676571c6805ca787beaf91a66d5 /louloulibs/xmpp
parentce2b8a15f17151c9ecfeebdec205ff2bb9248078 (diff)
downloadbiboumi-fdddd447b3976f26a4146ebf91abfc04736a006b.tar.gz
biboumi-fdddd447b3976f26a4146ebf91abfc04736a006b.tar.bz2
biboumi-fdddd447b3976f26a4146ebf91abfc04736a006b.tar.xz
biboumi-fdddd447b3976f26a4146ebf91abfc04736a006b.zip
Use “using” instead of typedef
Diffstat (limited to 'louloulibs/xmpp')
-rw-r--r--louloulibs/xmpp/body.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/louloulibs/xmpp/body.hpp b/louloulibs/xmpp/body.hpp
index 6ac678e..df86feb 100644
--- a/louloulibs/xmpp/body.hpp
+++ b/louloulibs/xmpp/body.hpp
@@ -6,7 +6,7 @@ namespace Xmpp
// Contains:
// - an XMPP-valid UTF-8 body
// - 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>>;
}
#endif /* XMPP_BODY_HPP_INCLUDED */