From c5a5fff0c464d7f22e2ad349af41e2db7acc0f04 Mon Sep 17 00:00:00 2001 From: Chris Bielow Date: Wed, 14 Feb 2024 12:14:58 +0100 Subject: [PATCH] remove unneccessary overloads which are already provided by the baseclass --- .../include/OpenMS/KERNEL/MSExperiment.h | 12 ---------- src/openms/source/KERNEL/MSExperiment.cpp | 24 ------------------- 2 files changed, 36 deletions(-) diff --git a/src/openms/include/OpenMS/KERNEL/MSExperiment.h b/src/openms/include/OpenMS/KERNEL/MSExperiment.h index b8c33b3e959..9e74eea321a 100644 --- a/src/openms/include/OpenMS/KERNEL/MSExperiment.h +++ b/src/openms/include/OpenMS/KERNEL/MSExperiment.h @@ -502,18 +502,6 @@ namespace OpenMS */ void updateRanges(Int ms_level); - /// returns the minimal m/z value - CoordinateType getMinMZ() const; - - /// returns the maximal m/z value - CoordinateType getMaxMZ() const; - - /// returns the minimal retention time value - CoordinateType getMinRT() const; - - /// returns the maximal retention time value - CoordinateType getMaxRT() const; - /// returns the total number of peaks UInt64 getSize() const; diff --git a/src/openms/source/KERNEL/MSExperiment.cpp b/src/openms/source/KERNEL/MSExperiment.cpp index 4ed4a86da4e..f727affe8c4 100644 --- a/src/openms/source/KERNEL/MSExperiment.cpp +++ b/src/openms/source/KERNEL/MSExperiment.cpp @@ -305,30 +305,6 @@ namespace OpenMS } } - /// returns the minimal m/z value - MSExperiment::CoordinateType MSExperiment::getMinMZ() const - { - return RangeManagerType::getMinMZ(); - } - - /// returns the maximal m/z value - MSExperiment::CoordinateType MSExperiment::getMaxMZ() const - { - return RangeManagerType::getMaxMZ(); - } - - /// returns the minimal retention time value - MSExperiment::CoordinateType MSExperiment::getMinRT() const - { - return RangeManagerType::getMinRT(); - } - - /// returns the maximal retention time value - MSExperiment::CoordinateType MSExperiment::getMaxRT() const - { - return RangeManagerType::getMaxRT(); - } - /// returns the total number of peaks UInt64 MSExperiment::getSize() const {