Skip to content

Commit

Permalink
add missing include
Browse files Browse the repository at this point in the history
to fix:
```cpp
In file included from /build/source/testing/include/gz/common/testing/AutoLogFixture.hh:58,
                 from /build/source/src/MaterialDensity_TEST.cc:20:
/build/source/testing/include/gz/common/testing/detail/AutoLogFixture.hh: In member function 'virtual void gz::common::testing::AutoLogFixture::SetUp()':
/build/source/testing/include/gz/common/testing/detail/AutoLogFixture.hh:79:8: error: 'replace' is not a member of 'std'
   79 |   std::replace(this->dataPtr->logFilename.begin(),
      |        ^~~~~~~
```

Signed-off-by: Guilhem Saurel <guilhem.saurel@laas.fr>
  • Loading branch information
nim65s committed Jan 20, 2025
1 parent 66ea0e6 commit fcabe70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions testing/include/gz/common/testing/detail/AutoLogFixture.hh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#ifndef GZ_COMMON_TESTING_DETAIL_AUTOLOGFIXTURE_HH_
#define GZ_COMMON_TESTING_DETAIL_AUTOLOGFIXTURE_HH_

#include <algorithm>
#include <memory>
#include <string>

Expand Down

0 comments on commit fcabe70

Please sign in to comment.