Skip to content

Commit

Permalink
Fix warnings on MSVC.
Browse files Browse the repository at this point in the history
  • Loading branch information
alliepiper committed Apr 5, 2024
1 parent 8297876 commit f432f88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions testing/criterion_manager.cu
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void test_no_duplicates_are_allowed()
bool exception_triggered = false;

try {
nvbench::stopping_criterion_base& custom = manager.get_criterion("custom");
[[maybe_unused]] nvbench::stopping_criterion_base& _ = manager.get_criterion("custom");
} catch(...) {
exception_triggered = true;
}
Expand All @@ -73,4 +73,3 @@ int main()
test_standard_criteria_exist();
test_no_duplicates_are_allowed();
}

1 change: 1 addition & 0 deletions testing/statistics.cu
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

#include "test_asserts.cuh"

#include <algorithm>
#include <vector>

namespace statistics = nvbench::detail::statistics;
Expand Down

0 comments on commit f432f88

Please sign in to comment.