diff options
Diffstat (limited to 'src/debug')
-rw-r--r-- | src/debug/debug_new.h | 5 | ||||
-rw-r--r-- | src/debug/fast_mutex.h | 8 | ||||
-rw-r--r-- | src/debug/static_assert.h | 2 |
3 files changed, 8 insertions, 7 deletions
diff --git a/src/debug/debug_new.h b/src/debug/debug_new.h index 77659b27a..00861f0bf 100644 --- a/src/debug/debug_new.h +++ b/src/debug/debug_new.h @@ -108,7 +108,8 @@ void operator delete[](void*) throw(); extern bool new_autocheck_flag; // default to true: call check_leaks() on exit extern bool new_verbose_flag; // default to false: no verbose information extern FILE* new_output_fp; // default to stderr: output to console -extern const char* new_progname; // default to NULL; should be assigned argv[0] +extern const char* new_progname; // default to NULL; should be + // assigned argv[0] /** * @def DEBUG_NEW @@ -180,4 +181,4 @@ public: /** Counting object for each file including debug_new.h. */ static __debug_new_counter __debug_new_count; -#endif // M_DEBUG_NEW_H +#endif // M_DEBUG_NEW_H diff --git a/src/debug/fast_mutex.h b/src/debug/fast_mutex.h index 28a79f287..6fe51e6d8 100644 --- a/src/debug/fast_mutex.h +++ b/src/debug/fast_mutex.h @@ -178,7 +178,7 @@ fast_mutex(const fast_mutex&); fast_mutex& operator=(const fast_mutex&); }; -# endif // _PTHREADS +# endif // _PTHREADS # ifdef _WIN32THREADS # include <windows.h> @@ -247,7 +247,7 @@ fast_mutex(const fast_mutex&); fast_mutex& operator=(const fast_mutex&); }; -# endif // _WIN32THREADS +# endif // _WIN32THREADS # ifdef _NOTHREADS /** @@ -293,7 +293,7 @@ fast_mutex(const fast_mutex&); fast_mutex& operator=(const fast_mutex&); }; -# endif // _NOTHREADS +# endif // _NOTHREADS /** An acquistion-on-initialization lock class based on fast_mutex. */ class fast_mutex_autolock @@ -313,4 +313,4 @@ private: fast_mutex_autolock& operator=(const fast_mutex_autolock&); }; -#endif // M_FAST_MUTEX_H +#endif // M_FAST_MUTEX_H diff --git a/src/debug/static_assert.h b/src/debug/static_assert.h index 8510c1597..5d5a148e7 100644 --- a/src/debug/static_assert.h +++ b/src/debug/static_assert.h @@ -50,4 +50,4 @@ template <> struct __nvwa_compile_time_error<true> {}; (void)ERROR_##_Msg; \ } -#endif // STATIC_ASSERT +#endif // STATIC_ASSERT |