From 39dc73d3dd9caa33f6ec242a40b4e732c11d0883 Mon Sep 17 00:00:00 2001 From: Luc Grosheintz Date: Mon, 6 May 2024 16:28:39 +0200 Subject: [PATCH] ... and remove. --- tests/unit/tests_high_five_base.cpp | 48 ----------------------------- 1 file changed, 48 deletions(-) diff --git a/tests/unit/tests_high_five_base.cpp b/tests/unit/tests_high_five_base.cpp index b71063251..fde643e04 100644 --- a/tests/unit/tests_high_five_base.cpp +++ b/tests/unit/tests_high_five_base.cpp @@ -2263,54 +2263,6 @@ TEST_CASE("DirectWriteBool") { } -class ForwardToAttribute { - public: - ForwardToAttribute(const HighFive::File& file) - : _file(file) {} - - template - HighFive::Attribute create(const std::string& name, const T& value) { - return _file.createAttribute(name, value); - } - - HighFive::Attribute create(const std::string& name, - const HighFive::DataSpace filespace, - const HighFive::DataType& datatype) { - return _file.createAttribute(name, filespace, datatype); - } - - HighFive::Attribute get(const std::string& name) { - return _file.getAttribute(name); - } - - private: - HighFive::File _file; -}; - -class ForwardToDataSet { - public: - ForwardToDataSet(const HighFive::File& file) - : _file(file) {} - - template - HighFive::DataSet create(const std::string& name, const T& value) { - return _file.createDataSet(name, value); - } - - HighFive::DataSet create(const std::string& name, - const HighFive::DataSpace filespace, - const HighFive::DataType& datatype) { - return _file.createDataSet(name, filespace, datatype); - } - - HighFive::DataSet get(const std::string& name) { - return _file.getDataSet(name); - } - - private: - HighFive::File _file; -}; - template void check_single_string(File file, size_t string_length) { auto value = std::string(string_length, 'o');