diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-25 01:09:51 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-25 01:09:51 -0500 |
| commit | 11184da83066ebc60bfd8b5d077b2bedd4d5084b (patch) | |
| tree | f43070a369c6e83dae119ba0291b4c2e70d10a51 /examples | |
| parent | b9b5224ed9d045437425ad129ffb83b9d0de850c (diff) | |
| parent | 223e9f06e4db61b0bc79a6d56030bb9b6a681bfb (diff) | |
Merge pull request #23 from amlel-el-mahrouss/develop
feat: new FIX parser and improvements on the library in general.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/fix/fix.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/examples/fix/fix.cc b/examples/fix/fix.cc index 3dbfafb..8c019ce 100644 --- a/examples/fix/fix.cc +++ b/examples/fix/fix.cc @@ -38,12 +38,8 @@ int main(int argc, char** argv) ocl::basic_error_handler handler; ocl::fix::must_pass<char, ocl::basic_error_handler>(fix, handler); - for (auto fields : fix.body_) - { - ocl::io::print("key=", fields.first); - ocl::io::print(":value=", fields.second); - ocl::io::print("\n"); - } + ocl::io::print(":key=9\n"); + ocl::io::print(":value=", fix["35"], "\n"); return 0; } |
