summaryrefslogtreecommitdiff
path: root/src/utils/perfomance.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-14 17:06:02 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-14 17:06:02 +0300
commit6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d (patch)
treef1acb027394af1aec49790354df97da4665488b7 /src/utils/perfomance.h
parenta7d7346b9eb3fa62a8912e31d5c00f8e05390425 (diff)
downloadmv-6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d.tar.gz
mv-6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d.tar.bz2
mv-6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d.tar.xz
mv-6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d.zip
another fixes from cpplint.
Diffstat (limited to 'src/utils/perfomance.h')
-rw-r--r--src/utils/perfomance.h10
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