From 1b98df2a3b5c6d276360b93f149e2303ce9cd8a8 Mon Sep 17 00:00:00 2001 From: Ybalrid Date: Sun, 13 Nov 2016 03:02:08 +0100 Subject: [PATCH] Move implementaiton of AnnDebug()'s nested stream class to the cpp file --- include/AnnLogger.hpp | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/include/AnnLogger.hpp b/include/AnnLogger.hpp index 4f0b9380..dc9e306c 100644 --- a/include/AnnLogger.hpp +++ b/include/AnnLogger.hpp @@ -25,18 +25,10 @@ namespace Annwvyn AnnDebugBuff() {}; ///Will sync the buffer - ~AnnDebugBuff() - { - pubsync(); - }; + ~AnnDebugBuff();; ///Sync the buffer by performing an AnnEngine::log, clear it and return success. - int sync() override - { - AnnEngine::log(str()); - str(""); - return 0; - }; + int sync() override;; }; public: