diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-09-17 10:06:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-17 10:06:21 +0200 |
| commit | 94799223495b9842bca67e1a6ecf611cec3ee771 (patch) | |
| tree | 435f5b6adb6889462640b1456e684360cd7e495f /dev/examples | |
| parent | 6789dd7d88a192e3f55b95798cb393e7d12f368a (diff) | |
| parent | fa4748e414e9494442f9bcde9c659d3951af19c0 (diff) | |
(SCL: v1.0.44) Merge pull request #1 from snu-systems-corp/dev
SCL: v1.0.44
Diffstat (limited to 'dev/examples')
| -rw-r--r-- | dev/examples/fix/fix.cc | 2 | ||||
| -rw-r--r-- | dev/examples/opt/opt.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dev/examples/fix/fix.cc b/dev/examples/fix/fix.cc index e3d669b..ec6668a 100644 --- a/dev/examples/fix/fix.cc +++ b/dev/examples/fix/fix.cc @@ -5,7 +5,7 @@ */ #include <lib/net/modem.hpp> -#include <lib/fix/parser.hpp> +#include <lib/fix/fix.hpp> #include <iostream> #include <unistd.h> #include <sys/socket.h> diff --git a/dev/examples/opt/opt.cc b/dev/examples/opt/opt.cc index b34f2c7..8a74fa2 100644 --- a/dev/examples/opt/opt.cc +++ b/dev/examples/opt/opt.cc @@ -38,7 +38,7 @@ int main(int argc, char** argv) ocl::io::println("Testing data..."); auto opt = do_some("Ohio", "Ohio"); - opt.expect("Checksum failed, Ohio isn't Ohio!"); + opt.try_or_throw("Checksum failed, Ohio isn't Ohio!"); return 0; |
