diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2017-09-20 12:26:38 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | e938175997b973e1ea288f5b95cc8710e6abc7aa (patch) | |
tree | f352670ba79a92dedf25241306f9504ae05bc6b2 /tests/framework | |
parent | bb3be3989b59de054e2a5d82492290ee6be928b0 (diff) | |
download | ComputeLibrary-e938175997b973e1ea288f5b95cc8710e6abc7aa.tar.gz |
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 <moritz.pflanzer@arm.com>
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'tests/framework')
-rw-r--r-- | tests/framework/instruments/Measurement.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 <typename T> struct TypedMeasurement : public IMeasurement { |