From 1c931b2515ce83eb38a1e532d15ee11d99c67d18 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Mon, 11 Nov 2024 18:19:32 -0500 Subject: [PATCH] make this compile --- CMakeLists.txt | 2 +- cloc.sh | 0 commit.py.save | 0 include/blt/std/binary_tree.h | 20 -------------------- py_commit_helper.sh | 0 5 files changed, 1 insertion(+), 21 deletions(-) mode change 100755 => 100644 cloc.sh mode change 100755 => 100644 commit.py.save mode change 100755 => 100644 py_commit_helper.sh diff --git a/CMakeLists.txt b/CMakeLists.txt index 67836fb..41d9694 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.20) include(cmake/color.cmake) -set(BLT_VERSION 2.1.8) +set(BLT_VERSION 2.1.9) set(BLT_TARGET BLT) diff --git a/cloc.sh b/cloc.sh old mode 100755 new mode 100644 diff --git a/commit.py.save b/commit.py.save old mode 100755 new mode 100644 diff --git a/include/blt/std/binary_tree.h b/include/blt/std/binary_tree.h index d8038fd..c570516 100644 --- a/include/blt/std/binary_tree.h +++ b/include/blt/std/binary_tree.h @@ -288,26 +288,6 @@ namespace blt } return {}; } - - std::optional search_min(const K& min) - { - auto point = nodes.begin(); - while (point != nodes.end()) - { - if (point->children == 0) - return {}; - auto parent = point; - ++point; - auto is_min = point->k < parent->k; - if (k >= parent->k) - { - if (is_min) - point = skip_children(point); - } - - } - return {}; - } private: auto skip_children(typename std::vector::iterator begin) diff --git a/py_commit_helper.sh b/py_commit_helper.sh old mode 100755 new mode 100644