Skip to content

Commit 032d133

Browse files
Change the separator a lamer one.
1 parent 18033c2 commit 032d133

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/pybind11/detail/non_limited_api.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ PYBIND11_NAMESPACE_END(PYBIND11_NAMESPACE)
190190
#define PYBIND11_NONLIMITEDAPI_LIB_SUFFIX_FOR_MODULE nullptr
191191
#endif
192192

193-
// This is a single `|`-separated string.
193+
// This is a single `@`-separated string.
194194
// Would normally use a comma-separated list of strings, but nvcc chokes on it (considers `-DA=B,C` to mean `-DA=B -DC`).
195195
#ifndef PYBIND11_NONLIMITEDAPI_SHIM_PATHS_RELATIVE_TO_LIBRARY_DIR
196196
#define PYBIND11_NONLIMITEDAPI_SHIM_PATHS_RELATIVE_TO_LIBRARY_DIR ""
@@ -240,7 +240,7 @@ PYBIND11_NAMESPACE_END(PYBIND11_NAMESPACE)
240240
{ \
241241
while (true) \
242242
{ \
243-
auto pos = v.find_first_of('|'); /* Using a weird separator because nvcc chokes on commas (considers `-DA=B,C` to mean `-DA=B -DC`) */\
243+
auto pos = v.find_first_of('@'); /* Using a weird separator because nvcc chokes on commas (considers `-DA=B,C` to mean `-DA=B -DC`) */\
244244
suffixes.emplace_back(v.substr(0, pos)); \
245245
if (pos == std::string_view::npos) \
246246
break; \

0 commit comments

Comments
 (0)