From 0ab509578fe4eb059abf96707747e85d31838114 Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Thu, 11 Jun 2020 13:05:03 +0100 Subject: [PATCH] [*_check] Remove the inane "This is not the btree you are looking for." message. --- persistent-data/data-structures/btree.tcc | 3 +-- persistent-data/data-structures/btree_node_checker.cc | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/persistent-data/data-structures/btree.tcc b/persistent-data/data-structures/btree.tcc index 35de301..b24ec29 100644 --- a/persistent-data/data-structures/btree.tcc +++ b/persistent-data/data-structures/btree.tcc @@ -360,8 +360,7 @@ namespace persistent_data { std::ostringstream out; out << "value size mismatch: expected " << sizeof(typename ValueTraits::disk_type) << ", but got " << get_value_size() - << ". This is not the btree you are looking for." - << " (block " << location_ << ")" << std::endl; + << " (block " << location_ << ")." << std::endl; return out.str(); } diff --git a/persistent-data/data-structures/btree_node_checker.cc b/persistent-data/data-structures/btree_node_checker.cc index 0f50670..0067060 100644 --- a/persistent-data/data-structures/btree_node_checker.cc +++ b/persistent-data/data-structures/btree_node_checker.cc @@ -52,8 +52,7 @@ std::string btree_node_checker::value_sizes_mismatch_string() const { std::ostringstream out; out << "value size mismatch: expected " << error_value_sizes_[1] << ", but got " << error_value_sizes_[0] - << ". This is not the btree you are looking for." - << " (block " << error_location_ << ")"; + << " (block " << error_location_ << ")."; return out.str(); }