diff --git a/include/interface_scan.h b/include/interface_scan.h index ba40920..194d6f0 100644 --- a/include/interface_scan.h +++ b/include/interface_scan.h @@ -81,7 +81,7 @@ scan(tree_instance* ti, std::string_view l_key, scan_endpoint l_end, traverse_key_view.size()); } } - if(right_to_left) { + if (right_to_left) { // assuming r_end == scan_endpoint::INF // put maximum value of key_slice key_slice = ~key_slice_type{0}; diff --git a/include/scan_helper.h b/include/scan_helper.h index 575efe2..d25aa96 100644 --- a/include/scan_helper.h +++ b/include/scan_helper.h @@ -106,7 +106,7 @@ scan(base_node* const root, const std::string_view l_key, } else { if (!l_key.empty()) { memcpy(&ks, l_key.data(), l_key.size()); } } - if(right_to_left) { + if (right_to_left) { // assuming r_end == scan_endpoint::INF // put maximum value of key_slice ks = ~key_slice_type{0};