Skip to content

Commit ae30902

Browse files
committed
More correct use of %Library.AbstractObject class in determining if we support new dynamic objects
1 parent 50c63b4 commit ae30902

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MDX2JSON/MDX2JSON.inc.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#define Private '$$$Public
1414
1515
#; For work with dynamic objects
16-
#if $$$comClassDefined("%Library.Array")
16+
#if $$$comClassDefined("%Library.AbstractObject")
1717
#define NewDynObj ##class(%Object).%New()
1818
#define NewDynDTList ##class(%Array).%New()
1919
#;define NewDynDTArray $$$NewDynDTList
@@ -36,6 +36,6 @@
3636
#define ListSize(%obj) %obj.Count()
3737
#define ListGet(%obj,%i) %obj.GetAt(%i)
3838
#endif
39-
#define IsNewJSON ##Expression($$$comClassDefined("%Library.Array"))
39+
#define IsNewJSON ##Expression($$$comClassDefined("%Library.AbstractObject"))
4040
]]></Routine>
4141
</Export>

0 commit comments

Comments
 (0)