diff options
Diffstat (limited to 'chrome/browser/sync/notifier/base')
| -rw-r--r-- | chrome/browser/sync/notifier/base/fastalloc.h | 2 | ||||
| -rw-r--r-- | chrome/browser/sync/notifier/base/static_assert.h | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/chrome/browser/sync/notifier/base/fastalloc.h b/chrome/browser/sync/notifier/base/fastalloc.h index 244a1f8..ac0fb46 100644 --- a/chrome/browser/sync/notifier/base/fastalloc.h +++ b/chrome/browser/sync/notifier/base/fastalloc.h @@ -12,7 +12,7 @@ namespace notifier { template<class T, size_t Size> class FastAlloc { public: - FastAlloc() : buffer_(NULL), size_(0) { }; + FastAlloc() : buffer_(NULL), size_(0) { } ~FastAlloc() { freeBuffer(); } T* get_buffer(size_t size) { if (size_ != 0) { diff --git a/chrome/browser/sync/notifier/base/static_assert.h b/chrome/browser/sync/notifier/base/static_assert.h index 78e6ac3..12dba44 100644 --- a/chrome/browser/sync/notifier/base/static_assert.h +++ b/chrome/browser/sync/notifier/base/static_assert.h @@ -5,9 +5,11 @@ #ifndef CHROME_BROWSER_SYNC_NOTIFIER_BASE_STATIC_ASSERT_H_ #define CHROME_BROWSER_SYNC_NOTIFIER_BASE_STATIC_ASSERT_H_ -template <bool> struct STATIC_ASSERTION_FAILURE; +template<bool> struct STATIC_ASSERTION_FAILURE; -template <> struct STATIC_ASSERTION_FAILURE<true> { enum { value = 1 }; }; +template<> struct STATIC_ASSERTION_FAILURE<true> { + enum { value = 1 }; +}; template<int> struct static_assert_test{}; |
