Explorar el Código

HPCC-19610 getListAttribute should return WuAttr type

Signed-off-by: Shamser Ahmed <shamser.ahmed@lexisnexis.co.uk>
Shamser Ahmed hace 7 años
padre
commit
3809d10625
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      common/workunit/wuattr.cpp
  2. 1 1
      common/workunit/wuattr.hpp

+ 1 - 1
common/workunit/wuattr.cpp

@@ -312,7 +312,7 @@ bool isListAttribute(WuAttr kind)
     return (info.multiKind != WaNone) && (info.multiKind == kind);
 }
 
-bool getListAttribute(WuAttr kind)
+WuAttr getListAttribute(WuAttr kind)
 {
     const WuAttrInfo & info = attrInfo[kind-WaNone];
     WuAttr multiKind = info.multiKind;

+ 1 - 1
common/workunit/wuattr.hpp

@@ -146,6 +146,6 @@ extern WORKUNIT_API void setAttributeValueBool(IPropertyTree & tgt, WuAttr kind,
 extern WORKUNIT_API void setAttributeValueInt(IPropertyTree & tgt, WuAttr kind, __int64 value);
 
 extern WORKUNIT_API bool isListAttribute(WuAttr kind);
-extern WORKUNIT_API bool getListAttribute(WuAttr kind);
+extern WORKUNIT_API WuAttr getListAttribute(WuAttr kind);
 
 #endif