Skip to content

Commit

Permalink
Merge pull request #542 from jschueller/Wattributes
Browse files Browse the repository at this point in the history
Fix -Wattributes warning
  • Loading branch information
bluescarni authored Feb 25, 2023
2 parents da0b1e2 + 6dc5cc0 commit a44f1aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/pagmo/archipelago.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ PAGMO_DLL_PUBLIC std::ostream &operator<<(std::ostream &, migrant_handling);
class PAGMO_DLL_PUBLIC archipelago
{
// Make friends with island.
friend class PAGMO_DLL_PUBLIC island;
friend class island;

using container_t = std::vector<std::unique_ptr<island>>;
using size_type_implementation = container_t::size_type;
Expand Down
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function(ADD_PAGMO_TESTCASE arg1)
target_compile_features(${arg1} PRIVATE cxx_std_17)
set_property(TARGET ${arg1} PROPERTY CXX_EXTENSIONS NO)
target_compile_definitions(${arg1} PRIVATE BOOST_ALLOW_DEPRECATED_HEADERS)
add_test(${arg1} ${arg1})
add_test(NAME ${arg1} COMMAND ${arg1})
endfunction()

# Tests requiring no dependencies (in alphabetical order)
Expand Down
2 changes: 1 addition & 1 deletion tools/gha_windows-2019.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ cmake `
..

cmake --build . --config Release --target install
ctest -VV --output-on-failure -j4
ctest -VV --output-on-failure -j4 -C Release

0 comments on commit a44f1aa

Please sign in to comment.