Commit cd0b3f96 authored by torsten's avatar torsten Committed by Victor Zverovich

check if _SECURE_SCL is defined not equal to 0

parent cef1e435
......@@ -324,7 +324,7 @@ inline typename Container::value_type* get_data(Container& c) {
return c.data();
}
#ifdef _SECURE_SCL
#if defined(_SECURE_SCL) && _SECURE_SCL
// Make a checked iterator to avoid MSVC warnings.
template <typename T> using checked_ptr = stdext::checked_array_iterator<T*>;
template <typename T> checked_ptr<T> make_checked(T* p, std::size_t size) {
......
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