Browse Source

Variable attributed as [[maybe_unused]].

main
offa 5 years ago
parent
commit
ab4d428767
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/UniqueResourceTest.cpp

+ 1
- 1
test/UniqueResourceTest.cpp View File



TEST_CASE("default construction", "[UniqueResource]") TEST_CASE("default construction", "[UniqueResource]")
{ {
sr::unique_resource<int, MoveableMock> guard{};
[[maybe_unused]] sr::unique_resource<int, MoveableMock> guard{};
} }


TEST_CASE("construction with move", "[UniqueResource]") TEST_CASE("construction with move", "[UniqueResource]")

Loading…
Cancel
Save