summaryrefslogtreecommitdiff
path: root/louloulibs
diff options
context:
space:
mode:
Diffstat (limited to 'louloulibs')
-rw-r--r--louloulibs/network/socket_handler.hpp2
-rw-r--r--louloulibs/xmpp/body.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/louloulibs/network/socket_handler.hpp b/louloulibs/network/socket_handler.hpp
index daa4413..feabcf1 100644
--- a/louloulibs/network/socket_handler.hpp
+++ b/louloulibs/network/socket_handler.hpp
@@ -6,7 +6,7 @@
class Poller;
-typedef int socket_t;
+using socket_t = int;
class SocketHandler
{
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 */