Explorar o código

Merge pull request #7784 from ghalliday/issue14209

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

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman %!s(int64=9) %!d(string=hai) anos
pai
achega
88b2189e84
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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); }