diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-14 17:06:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-14 17:06:02 +0300 |
commit | 6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d (patch) | |
tree | f1acb027394af1aec49790354df97da4665488b7 /src/utils/perfomance.h | |
parent | a7d7346b9eb3fa62a8912e31d5c00f8e05390425 (diff) | |
download | manaverse-6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d.tar.gz manaverse-6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d.tar.bz2 manaverse-6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d.tar.xz manaverse-6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d.zip |
another fixes from cpplint.
Diffstat (limited to 'src/utils/perfomance.h')
-rw-r--r-- | src/utils/perfomance.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/utils/perfomance.h b/src/utils/perfomance.h index bd441e06b..a70bc42a6 100644 --- a/src/utils/perfomance.h +++ b/src/utils/perfomance.h @@ -50,7 +50,7 @@ namespace Perfomance class Func { public: - Func(const std::string &str) : + explicit Func(const std::string &str) : name(str) { blockStart(str); @@ -63,14 +63,14 @@ namespace Perfomance std::string name; }; -} +} // namespace Perfomance -#else // USE_PROFILER +#else // USE_PROFILER #define PROFILER_START() #define BLOCK_START(name) #define BLOCK_END(name) #define FUNC_BLOCK(name, id) -#endif // USE_PROFILER -#endif // UTILS_PEFOMANCE_H +#endif // USE_PROFILER +#endif // UTILS_PEFOMANCE_H |