Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
native-m committed Jul 11, 2024
1 parent 7aaa04b commit 865b923
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ project("whitebox")

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED 20)
set(CMAKE_CXX_EXTENSIONS OFF)
option(WB_VST3_SDK_PATH "Path to VST3 SDK")

include(CheckIPOSupported)
Expand Down
2 changes: 1 addition & 1 deletion src/core/algorithm.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ inline bool any_of(T value, Tcmp cmp, Args... cmp_args) {

template <typename T, typename ValT, typename CompareFn>
inline T binary_search(T begin, T end, ValT value, CompareFn comp_fn) {
using DiffType = std::iterator_traits<T>::difference_type;
using DiffType = typename std::iterator_traits<T>::difference_type;
DiffType left = -1;
DiffType right = end - begin;

Expand Down

0 comments on commit 865b923

Please sign in to comment.