diff --git a/include/fmt/format.h b/include/fmt/format.h index 865f132c..fc50d737 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -349,18 +349,11 @@ template inline stdext::checked_array_iterator make_checked(T *p, std::size_t size) { return {p, size}; } - -// Extracts the pointer from a checked iterator. -template -static T *from_checked(stdext::checked_array_iterator p) { return p.base(); } - #else template struct checked { typedef T *type; }; template inline T *make_checked(T *p, std::size_t) { return p; } -template -inline T *from_checked(T *p) { return p; } #endif template