summaryrefslogtreecommitdiff
path: root/src/debug
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/debug
parenta7d7346b9eb3fa62a8912e31d5c00f8e05390425 (diff)
downloadplus-6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d.tar.gz
plus-6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d.tar.bz2
plus-6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d.tar.xz
plus-6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d.zip
another fixes from cpplint.
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/debug_new.h5
-rw-r--r--src/debug/fast_mutex.h8
-rw-r--r--src/debug/static_assert.h2
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