Skip to content

Commit

Permalink
fix compilation by including header in which std::find is defined
Browse files Browse the repository at this point in the history
Compilation breaks when the `algorithm` header isn't included
indirectly anymore. This happens with certain combinations of
compiler/C++ library/C++ mode, e.g. clang++ 17/libstdc++ 14.1/C++20
  • Loading branch information
mbunkus committed Jun 9, 2024
1 parent 6973098 commit 1cc4467
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/EbmlUnicodeString.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

#include "lib/utf8-cpp/source/utf8/checked.h"

#include <algorithm>
#include <cstring>

namespace libebml {
Expand Down

0 comments on commit 1cc4467

Please sign in to comment.