summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-03-29 23:32:43 +0200
committerlouiz’ <louiz@louiz.org>2017-03-29 23:32:43 +0200
commit1a09c965eb3723cdaab9ea556f30ffbc7f09a6dd (patch)
tree8da20afbb4520f71bbdd9ed6fc2ff301bb7be992 /src/utils
parent52b795d11976802cfec12d886fca508047ffed89 (diff)
downloadbiboumi-1a09c965eb3723cdaab9ea556f30ffbc7f09a6dd.tar.gz
biboumi-1a09c965eb3723cdaab9ea556f30ffbc7f09a6dd.tar.bz2
biboumi-1a09c965eb3723cdaab9ea556f30ffbc7f09a6dd.tar.xz
biboumi-1a09c965eb3723cdaab9ea556f30ffbc7f09a6dd.zip
Remove two sneaky log_debug
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/encoding.hpp2
-rw-r--r--src/utils/time.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/encoding.hpp b/src/utils/encoding.hpp
index 586edd8..b707a0c 100644
--- a/src/utils/encoding.hpp
+++ b/src/utils/encoding.hpp
@@ -28,7 +28,7 @@ namespace utils
* Convert the given string (encoded is "encoding") into valid utf-8.
* If some decoding fails, insert an utf-8 placeholder character instead.
*/
- std::string convert_to_utf8(const std::string& str, const char* encoding);
+ std::string convert_to_utf8(const std::string& str, const char* charset);
}
namespace xep0106
diff --git a/src/utils/time.cpp b/src/utils/time.cpp
index 8fa3fcd..88b3de3 100644
--- a/src/utils/time.cpp
+++ b/src/utils/time.cpp
@@ -1,5 +1,5 @@
#include <utils/time.hpp>
-#include <time.h>
+#include <ctime>
#include <sstream>
#include <iomanip>