Utils/Console: Telnet protocol implementation (including NAWS and TERMINAL-TYPE options)
[senf.git] / Utils / Logger / Target.ih
index 01d0728..a083871 100644 (file)
@@ -23,8 +23,8 @@
 /** \file
     \brief Target internal header */
 
-#ifndef IH_Target_
-#define IH_Target_ 1
+#ifndef IH_SENF_Utils_Logger_Target_
+#define IH_SENF_Utils_Logger_Target_ 1
 
 // Custom includes
 #include <memory>
@@ -45,7 +45,7 @@ namespace detail {
         using senf::singleton<TargetRegistry>::instance;
 
         void write(StreamBase const & stream, AreaBase const & area, unsigned level, 
-                   std::string msg);
+                   std::string const & msg);
 
         void routed();
         bool fallbackRouting();
@@ -67,7 +67,7 @@ namespace detail {
 
     /** \brief Internal: Write log message */
     template <class Stream, class Area, class Level>
-    void write(std::string msg);
+    void write(std::string const & msg);
 
 #ifndef DOXYGEN