diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-07-08 09:28:31 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-07-08 09:28:31 +0200 |
| commit | 6f454424153fc205e519f7aada62837487600a8e (patch) | |
| tree | 9b7d753b7c87db6a8b81275247a5e31a90e98c5c /examples/fix/fix.cc | |
| parent | 844968b28ffa805bfb5e3ade5b5537d716dca96e (diff) | |
refactor: New Embfs TeX specs, and reworked SNU-LIB's fix module.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'examples/fix/fix.cc')
| -rw-r--r-- | examples/fix/fix.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/fix/fix.cc b/examples/fix/fix.cc index 9b983de..af57ae1 100644 --- a/examples/fix/fix.cc +++ b/examples/fix/fix.cc @@ -10,15 +10,15 @@ /* finally test it */ int main(int argc, char** argv) { - snu::fix::fix_visitor visitor; - auto fix = visitor.visit("8=FIX.4.2|9=65|35=A|49=SERVER|56=CLIENT|34=177|52=20090107-18:15:16|98=0|108=30|10=062|"); + snu::fix::visitor visitor; + snu::fix::range_data fix = visitor.visit("8=FIX.4.2|9=65|35=A|49=SERVER|56=CLIENT|34=177|52=20090107-18:15:16|98=0|108=30|10=062|"); std::cout << "magic: " << fix.msg_magic_ << std::endl; for (auto fields : fix.msg_body_) { std::cout << "key: " << fields.first; - std::cout << ",value: " << fields.second << std::endl; + std::cout << ", value: " << fields.second << std::endl; } return 0; |
