Skip to content

Commit 7abcd00

Browse files
committed
[C++ OTF]: fix to grab namespace and use updated serialized IR frame. Should fix aeron-io#73 and aeron-io#74.
1 parent 0058cec commit 7abcd00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main/cpp/otf_api/IrCollection.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ class IrCollection
200200
char tmp[256];
201201

202202
frame.wrapForDecode(buffer_, offset, frame.blockLength(), frame.templateVersion());
203-
tmpLen = frame.getPackageVal(tmp, sizeof(tmp));
203+
tmpLen = frame.getPackageName(tmp, sizeof(tmp));
204+
frame.getNamespaceName(tmp, sizeof(tmp));
204205

205206
::std::cout << "Reading IR package=\"" << std::string(tmp, tmpLen) << "\"" << ::std::endl;
206207

0 commit comments

Comments
 (0)