From 63812d7a038ec50770a2c13ddef328f11672bf9f Mon Sep 17 00:00:00 2001 From: gabi Date: Fri, 7 Mar 2014 00:14:05 +0200 Subject: [PATCH] small stuff --- example/example.cpp | 2 +- include/c11log/formatter.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/example/example.cpp b/example/example.cpp index a3ff011b..4d82c994 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -59,7 +59,7 @@ int main(int argc, char* argv[]) auto null_sink = std::make_shared(); //auto async = std::make_shared(1000); //async->add_sink(fsink); - my_logger.add_sink(null_sink); + my_logger.add_sink(fsink); auto start = system_clock::now(); diff --git a/include/c11log/formatter.h b/include/c11log/formatter.h index 53bb444f..907e4497 100644 --- a/include/c11log/formatter.h +++ b/include/c11log/formatter.h @@ -70,8 +70,6 @@ inline void c11log::formatters::default_formatter::_format_time(const log_clock: tm_now.tm_min, tm_now.tm_sec); last_tm = tm_now; - - } dest << last_time_str; }