From 1cad3fadd64c89a53bbd98ac003b33f106b8dc65 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Mon, 22 Apr 2013 08:37:01 -0700 Subject: [PATCH] Remove warning pragmas since there is no effect on "security" warnings --- format.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/format.h b/format.h index 7a738969..549b219d 100644 --- a/format.h +++ b/format.h @@ -100,9 +100,6 @@ class Array { const T &operator[](std::size_t index) const { return ptr_[index]; } }; -#pragma warning(push) -#pragma warning(disable: 4996) - template void Array::Grow(std::size_t size) { capacity_ = (std::max)(size, capacity_ + capacity_ / 2); @@ -122,8 +119,6 @@ void Array::append(const T *begin, const T *end) { size_ += num_elements; } -#pragma warning(pop) - // Information about an integer type. // IntTraits is not specialized for integer types smaller than int, // since these are promoted to int.