diff options
Diffstat (limited to 'dev/examples/opt/opt.cc')
| -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 8a74fa2..b34f2c7 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.try_or_throw("Checksum failed, Ohio isn't Ohio!"); + opt.expect("Checksum failed, Ohio isn't Ohio!"); return 0; |
