Skip to content

Commit

Permalink
fix: add feature test value
Browse files Browse the repository at this point in the history
  • Loading branch information
ObeliskGate committed Aug 23, 2024
1 parent 0f042a8 commit f114df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pybind11/typing.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class Never : public none {
using none::none;
};

#if defined(__cpp_nontype_template_args)
#if defined(__cpp_nontype_template_args) && __cpp_nontype_template_args >= 201911L
# define PYBIND11_TYPING_H_HAS_STRING_LITERAL
template <size_t N>
struct StringLiteral {
Expand Down

0 comments on commit f114df8

Please sign in to comment.