diff --git a/include/gsl/pointers b/include/gsl/pointers index ae6f8c5..bc6a91c 100644 --- a/include/gsl/pointers +++ b/include/gsl/pointers @@ -272,13 +272,13 @@ auto make_strict_not_null(T&& t) { return strict_not_null>>{std::forward(t)}; } -#if (defined(__cpp_deduction_guides) && (__cpp_deduction_guides >= 201907L)) +#if (defined(__cpp_deduction_guides) && (__cpp_deduction_guides >= 201611L)) // deduction guides to prevent the ctad-maybe-unsupported warning template not_null(T) -> not_null; template strict_not_null(T) -> strict_not_null; -#endif // (defined(__cpp_deduction_guides) && (__cpp_deduction_guides >= 201907L)) +#endif // (defined(__cpp_deduction_guides) && (__cpp_deduction_guides >= 201611L)) } // namespace gsl