Ignore:
Timestamp:
Jul 16, 2021, 10:50:47 AM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
0640189e, d2278e9
Parents:
63e3ed8
Message:

Fixed an error in exception benchmarks. C++ conditional catch was reversed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/andrew_beach_MMath/code/cond-catch.cpp

    r63e3ed8 re19fadd  
    1919                throw_exception();
    2020        } catch (EmptyException & exc) {
    21                 if (should_catch) {
     21                if (!should_catch) {
    2222                        throw;
    2323                }
Note: See TracChangeset for help on using the changeset viewer.