From 1c3d4f6f5fdf5829e931770523251abe9522914b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Thu, 21 Sep 2017 21:57:01 +0200 Subject: Remove a redundant Body definition --- src/bridge/colors.hpp | 12 ++---------- src/xmpp/body.hpp | 4 ++++ 2 files changed, 6 insertions(+), 10 deletions(-) (limited to 'src') diff --git a/src/bridge/colors.hpp b/src/bridge/colors.hpp index dceed74..25b085a 100644 --- a/src/bridge/colors.hpp +++ b/src/bridge/colors.hpp @@ -6,20 +6,12 @@ * vice versa. */ +#include + #include #include #include -class XmlNode; - -namespace Xmpp -{ -// Contains: -// - an XMPP-valid UTF-8 body -// - an XML node representing the XHTML-IM body, or null - using body = std::tuple>; -} - #define IRC_FORMAT_BOLD_CHAR '\x02' // done #define IRC_FORMAT_COLOR_CHAR '\x03' // done #define IRC_FORMAT_RESET_CHAR '\x0F' // done diff --git a/src/xmpp/body.hpp b/src/xmpp/body.hpp index 068d1a4..f693cdd 100644 --- a/src/xmpp/body.hpp +++ b/src/xmpp/body.hpp @@ -1,5 +1,9 @@ #pragma once +#include +#include + +class XmlNode; namespace Xmpp { -- cgit v1.2.3