From 1f8d558597098f78aeba4ed5f70824f98dc60060 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sun, 12 May 2013 18:14:02 +0200 Subject: removed most exception specifications: allow bad_allocs to propagate * specifications resulted in runtime errors (unexpected exception) when bad_alloc ocurred * specs should be used scarcely: only when the errors that may be thrown are all known and for documentary purposes --- src/cmdline.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmdline.h') diff --git a/src/cmdline.h b/src/cmdline.h index eaf522d..c078ff1 100644 --- a/src/cmdline.h +++ b/src/cmdline.h @@ -49,7 +49,7 @@ public: StateSaveCmdline() : StateExpectQReg(true) {} private: - State *got_register(QRegister ®) throw (Error); + State *got_register(QRegister ®); }; namespace States { -- cgit v1.2.3