Pārlūkot izejas kodu

Merge pull request #7784 from ghalliday/issue14209

HPCC-14209 Add missing member function rtlRowAttr::set()

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 9 gadi atpakaļ
vecāks
revīzija
88b2189e84
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      rtl/eclrtl/rtlds_imp.hpp

+ 1 - 0
rtl/eclrtl/rtlds_imp.hpp

@@ -154,6 +154,7 @@ public:
     inline void setown(byte * _row)     { dispose(); row = _row; }
     inline void set(const void * _row)  { rtlLinkRow(_row); setown(_row); }
     inline void setown(const void * _row)   { dispose(); row = static_cast<byte *>(const_cast<void *>(_row)); } // ugly - need to clean up const tracking in code generator
+    inline void set(const rtlRowAttr & other) { set(other.getbytes()); }
 
 protected:
     inline void dispose()               { rtlReleaseRow(row); }