Ver código fonte

Merge pull request #3744 from rengolin/warnings

HPCC-8383 Add using to access declaration

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday 12 anos atrás
pai
commit
73715ad72d
2 arquivos alterados com 3 adições e 3 exclusões
  1. 1 1
      common/fileview2/fvsource.ipp
  2. 2 2
      ecl/hqlcpp/hqlregex.ipp

+ 1 - 1
common/fileview2/fvsource.ipp

@@ -33,7 +33,7 @@
 
 
 interface IRecordSizeEx : public IRecordSize
 interface IRecordSizeEx : public IRecordSize
 {
 {
-    IRecordSize::getRecordSize;
+    using IRecordSize::getRecordSize;
     virtual size32_t getRecordSize(unsigned maxLength, const void *rec) = 0;
     virtual size32_t getRecordSize(unsigned maxLength, const void *rec) = 0;
 };
 };
 
 

+ 2 - 2
ecl/hqlcpp/hqlregex.ipp

@@ -93,8 +93,8 @@ protected:
 class HqlRegexHashTable : public SuperHashTable
 class HqlRegexHashTable : public SuperHashTable
 {
 {
 public:
 public:
-    SuperHashTable::add;
-    SuperHashTable::find;
+    using SuperHashTable::add;
+    using SuperHashTable::find;
     ~HqlRegexHashTable() { releaseAll(); }
     ~HqlRegexHashTable() { releaseAll(); }
 
 
 private:
 private: