diff options
author | Norbert Preining <norbert@preining.info> | 2020-08-07 03:02:55 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-08-07 03:02:55 +0000 |
commit | 3710c23789342d9d88783cbe9ad23eb5263a7c33 (patch) | |
tree | 1c40b2bfb9f6b652f7877ad0991f5d6b44391154 /graphics/asymptote/camperror.cc | |
parent | d99fea72e367e8d4d2809b43b3b0206b1bb526b8 (diff) |
CTAN sync 202008070302
Diffstat (limited to 'graphics/asymptote/camperror.cc')
-rw-r--r-- | graphics/asymptote/camperror.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/asymptote/camperror.cc b/graphics/asymptote/camperror.cc index 8fb782b415..8b36310a47 100644 --- a/graphics/asymptote/camperror.cc +++ b/graphics/asymptote/camperror.cc @@ -23,7 +23,7 @@ void reportError(const string& desc) em.runtime(vm::getPos()); em << desc; em.sync(); - throw handled_error(); + throw handled_error(); } // Used internally to report a warning in an operation. @@ -41,7 +41,7 @@ void reportFatal(const string& desc) em.sync(); em.statusError(); try { - throw quit(); + throw quit(); } catch(handled_error) { } } @@ -50,15 +50,15 @@ void reportError(const ostringstream& desc) { reportError(desc.str()); } - + void reportWarning(const ostringstream& desc) { reportWarning(desc.str()); } - + void reportFatal(const ostringstream& desc) { reportFatal(desc.str()); } - + } // namespace camp |