Sfoglia il codice sorgente

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 anni fa
parent
commit
88b2189e84
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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); }