Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/openvdb/openvdb_util.h')
-rw-r--r--intern/openvdb/openvdb_util.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/intern/openvdb/openvdb_util.h b/intern/openvdb/openvdb_util.h
index 13c2ac610cb..7a19d588068 100644
--- a/intern/openvdb/openvdb_util.h
+++ b/intern/openvdb/openvdb_util.h
@@ -24,28 +24,28 @@
#include <openvdb/util/CpuTimer.h>
#define CATCH_KEYERROR \
- catch (const openvdb::KeyError &e) { \
- std::cerr << e.what() << '\n'; \
- }
+ catch (const openvdb::KeyError &e) \
+ { \
+ std::cerr << e.what() << '\n'; \
+ }
//#define DEBUG_TIME
/* A utility class which prints the time elapsed during its lifetime, useful for
* e.g. timing the overall execution time of a function */
class ScopeTimer {
- std::string m_message;
- openvdb::util::CpuTimer m_timer;
+ std::string m_message;
+ openvdb::util::CpuTimer m_timer;
-public:
- ScopeTimer(const std::string &message);
- ~ScopeTimer();
+ public:
+ ScopeTimer(const std::string &message);
+ ~ScopeTimer();
};
#ifdef DEBUG_TIME
-# define Timer(x) \
- ScopeTimer prof(x);
+# define Timer(x) ScopeTimer prof(x);
#else
-# define Timer(x)
+# define Timer(x)
#endif
#endif /* __OPENVDB_UTIL_H__ */