From ae1ac3851e70f87bfc452da97812812c77f52c01 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sun, 6 May 2012 14:22:52 -0500 Subject: GCC 4.7 fixes. Thanks to Francois Andriot. --- src/common/common/range.h | 2 +- src/devices/base/device_group.h | 2 +- src/xml_to_data/device_xml_to_data.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/common/range.h b/src/common/common/range.h index 2d4ece7..fec214b 100644 --- a/src/common/common/range.h +++ b/src/common/common/range.h @@ -43,7 +43,7 @@ class GenericRangeVector : public TQValueVector { public: GenericRangeVector() {} - GenericRangeVector(const RangeType &range) { append(range); } + GenericRangeVector(const RangeType &range) { this->append(range); } bool isEmpty() const { uint nb = this->count(); for (uint i=0; iat(i).isEmpty() ) return false; diff --git a/src/devices/base/device_group.h b/src/devices/base/device_group.h index 1ecc6d1..46bc62d 100644 --- a/src/devices/base/device_group.h +++ b/src/devices/base/device_group.h @@ -52,7 +52,7 @@ class Group : public GroupBase, public DataStreamer { protected: virtual void initSupported() { - TQValueList list = fromCppString(dataStream(), dataSize()); + TQValueList list = this->fromCppString(dataStream(), dataSize()); for (uint i=0; iname(), list[i], ::Group::Support::Tested); } virtual uint dataSize() const = 0; diff --git a/src/xml_to_data/device_xml_to_data.h b/src/xml_to_data/device_xml_to_data.h index 36b8824..b505cdd 100644 --- a/src/xml_to_data/device_xml_to_data.h +++ b/src/xml_to_data/device_xml_to_data.h @@ -76,7 +76,7 @@ public: TQValueList list; for (it=_map.begin(); it!=_map.end(); ++it) list.append(const_cast(static_cast(it.data()))); - uint size = toCppString(list, ts); + uint size = this->toCppString(list, ts); ts << ";" << endl; ts << "const uint " << namespaceName() << "::DATA_SIZE = " << size << ";" << endl; file.close(); -- cgit v1.2.1