Skip to content

Commit

Permalink
Include <algorithm> explicitly (#1521)
Browse files Browse the repository at this point in the history
C++ stdlib header `<algorithm>` was a transitive dependency that is no longer included on LLVM libcxx, this makes it necessary to explicitly include it on any usage.
  • Loading branch information
PixelyIon committed Mar 31, 2022
1 parent e51ed6d commit 9053f01
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/flowgraph/resampler/PolyphaseResampler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

#include <cassert>
#include <math.h>
#include <algorithm>
#include "IntegerRatio.h"
#include "PolyphaseResampler.h"

Expand Down
1 change: 1 addition & 0 deletions src/flowgraph/resampler/SincResampler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

#include <cassert>
#include <math.h>
#include <algorithm>
#include "SincResampler.h"

using namespace resampler;
Expand Down
1 change: 1 addition & 0 deletions src/flowgraph/resampler/SincResamplerStereo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

#include <cassert>
#include <math.h>
#include <algorithm>

#include "SincResamplerStereo.h"

Expand Down

0 comments on commit 9053f01

Please sign in to comment.