From e938175997b973e1ea288f5b95cc8710e6abc7aa Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Wed, 20 Sep 2017 12:26:38 +0100 Subject: COMPMID-417: Remove constness from IMeasurement unit member. Removes the constness of member variable "unit" as it restricted the ability of copy-assingment leading to compilation errors under Clang. Change-Id: I841c7e7a4cb9147c90e92cb20681117160c9c3c2 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/88410 Reviewed-by: Moritz Pflanzer Tested-by: Kaizen --- tests/framework/instruments/Measurement.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/framework/instruments/Measurement.h') diff --git a/tests/framework/instruments/Measurement.h b/tests/framework/instruments/Measurement.h index 32874e0a6a..324fd51b47 100644 --- a/tests/framework/instruments/Measurement.h +++ b/tests/framework/instruments/Measurement.h @@ -50,10 +50,10 @@ struct IMeasurement { } - const std::string unit; + std::string unit; }; -/** Meaurement of a specific type. */ +/** Measurement of a specific type. */ template struct TypedMeasurement : public IMeasurement { -- cgit v1.2.1