Commit Graph

812 Commits

Author SHA1 Message Date
Andre Haupt
3d291f48fa use std::abs from cstdlib which fixes a warning that occurs when compiling with clang 3.5 on 64-bit linux
in file included from ../include/spdlog/sinks/../formatter.h:57:
../include/spdlog/details/pattern_formatter_impl.h:308:26: warning: absolute value function 'abs' given an argument of type 'rep' (aka 'long') but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
        auto secs_diff = abs((duration_cast<seconds>(diff)).count());
                         ^
../include/spdlog/details/pattern_formatter_impl.h:308:26: note: use function 'std::abs' instead
        auto secs_diff = abs((duration_cast<seconds>(diff)).count());
                         ^~~
                         std::abs
1 warning generated.
2014-11-07 10:24:17 +01:00
gabime
017088d01c Merge branch 'master' of https://github.com/gabime/spdlog 2014-11-05 23:24:26 +02:00
gabi
58688d7d1c Removed close() from sink to have RAII semantics 2014-11-05 23:07:20 +02:00
gabime
8b51b3b277 astyle 2014-11-05 02:36:50 +02:00
gabi
0c6518961d Fix level 4 warnings under VS 2014-11-05 01:47:28 +02:00
gabi
ec4ed98855 comment fix 2014-11-03 09:06:02 +02:00
gabime
74aae4f368 readme 2014-11-01 03:20:54 +02:00
gabime
e8403e17df astyle 2014-11-01 02:28:49 +02:00
gabi
567e85e6d4 bench 2014-11-01 02:12:12 +02:00
gabime
2d075bcfda bench 2014-10-31 16:34:48 +02:00
gabi
31971bf63b updated example and added more creation functions 2014-10-31 03:17:40 +02:00
gabi
c7b8c762fb spdlog 2014-10-31 01:13:27 +02:00