Skip to content

Commit c108178

Browse files
committed
Use proper rethrowing
1 parent a91c097 commit c108178

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Native/BytecodeEditor/include/Assembler.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1404,7 +1404,7 @@ class Assembler
14041404
catch (std::exception& e)
14051405
{
14061406
setFile(f.where.load());
1407-
throw e;
1407+
throw;
14081408
}
14091409
}
14101410

@@ -1417,7 +1417,7 @@ class Assembler
14171417
catch (std::exception& e)
14181418
{
14191419
setFile(f.where.load());
1420-
throw e;
1420+
throw;
14211421
}
14221422
}
14231423

@@ -1446,7 +1446,7 @@ class Assembler
14461446
catch (std::exception& e)
14471447
{
14481448
backpedal(word.size());
1449-
throw e;
1449+
throw;
14501450
}
14511451
};
14521452

0 commit comments

Comments
 (0)