mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
🔨 Continuing to fix the CI...
This commit is contained in:
parent
42716a63cf
commit
bc04471c11
|
@ -42,7 +42,7 @@ add_custom_target(sol2_single_header_generator ALL
|
||||||
|
|
||||||
# # # sol3 generated single header library
|
# # # sol3 generated single header library
|
||||||
add_library(sol2_single INTERFACE)
|
add_library(sol2_single INTERFACE)
|
||||||
add_library(sol2::sol2_single ALIAS sol2_single)
|
add_library(sol2::sol2::single ALIAS sol2_single)
|
||||||
set_target_properties(sol2_single
|
set_target_properties(sol2_single
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
EXPORT_NAME sol2::sol2::single
|
EXPORT_NAME sol2::sol2::single
|
||||||
|
|
|
@ -169,6 +169,7 @@ inline namespace sol2_test_container_shims {
|
||||||
{
|
{
|
||||||
std::size_t sum = 0;
|
std::size_t sum = 0;
|
||||||
for (const auto& [k, v] : data) {
|
for (const auto& [k, v] : data) {
|
||||||
|
(void)k;
|
||||||
sum += v;
|
sum += v;
|
||||||
}
|
}
|
||||||
return static_cast<int>(sum);
|
return static_cast<int>(sum);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user