Commit 1cad3fad authored by Victor Zverovich's avatar Victor Zverovich

Remove warning pragmas since there is no effect on "security" warnings

parent ca7e689e
......@@ -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 <typename T, std::size_t SIZE>
void Array<T, SIZE>::Grow(std::size_t size) {
capacity_ = (std::max)(size, capacity_ + capacity_ / 2);
......@@ -122,8 +119,6 @@ void Array<T, SIZE>::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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment