summaryrefslogtreecommitdiffhomepage
path: root/dev/examples/opt
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-09-17 10:06:21 +0200
committerGitHub <noreply@github.com>2025-09-17 10:06:21 +0200
commit94799223495b9842bca67e1a6ecf611cec3ee771 (patch)
tree435f5b6adb6889462640b1456e684360cd7e495f /dev/examples/opt
parent6789dd7d88a192e3f55b95798cb393e7d12f368a (diff)
parentfa4748e414e9494442f9bcde9c659d3951af19c0 (diff)
(SCL: v1.0.44) Merge pull request #1 from snu-systems-corp/dev
SCL: v1.0.44
Diffstat (limited to 'dev/examples/opt')
-rw-r--r--dev/examples/opt/opt.cc2
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;