diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-09-10 03:28:35 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-09-10 03:28:35 +0200 |
| commit | 3f9c5017abf3c4279780f685580a334574e6d760 (patch) | |
| tree | a54540a8549542bf5385ae5b17878949b011aae4 /dev/examples/opt | |
| parent | 2ecbd2bfb27060b6f45196d8481fd0ccdbea730c (diff) | |
feat:! breaking changes in the `opt` module. Fix `println` in `io`
module.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/examples/opt')
| -rw-r--r-- | dev/examples/opt/opt.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
