Skip to content

Commit b2de3f4

Browse files
author
Todd L. Montgomery
committed
fix type. Fix aeron-io#57
1 parent 5a40444 commit b2de3f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/cpp98/SbeOtfDecoder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class CarCallbacks : public OnNext, public OnError, public OnCompleted
102102
f.getArray(1, tmp, 0, f.length(1)); // copy the data
103103
std::cout << " value=\"" << std::string(tmp, f.length(1)) << "\"";
104104

105-
std::cout << " presence=" << presenceStr(f.presence());
105+
std::cout << " presence=" << presenceStr(f.presence(1));
106106
std::cout << std::endl;
107107
}
108108
else // if not enum, set, or var data, then just normal encodings, but could be composite

0 commit comments

Comments
 (0)