Skip to content

Commit

Permalink
fix: add missing <algorithm> header (gcc14)
Browse files Browse the repository at this point in the history
gcc14 is complaining about unknown "std::find_if" function. (gcc13 works
fine)
  • Loading branch information
SGSSGene committed Jun 6, 2024
1 parent 69c0244 commit f76a9d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/bitinputarchive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#include "internal/formatdetect.hpp"
#endif

#include <algorithm>

using namespace NWindows;
using namespace NArchive;

Expand Down Expand Up @@ -420,4 +422,4 @@ auto BitInputArchive::ConstIterator::operator->() const noexcept -> BitInputArch
BitInputArchive::ConstIterator::ConstIterator( uint32_t itemIndex, const BitInputArchive& itemArchive ) noexcept
: mItemOffset( itemIndex, itemArchive ) {}

} // namespace bit7z
} // namespace bit7z

0 comments on commit f76a9d1

Please sign in to comment.