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.