summaryrefslogtreecommitdiff
path: root/src/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/global.h')
-rw-r--r--src/global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/global.h b/src/global.h
index 28bffc3a..2cb7842e 100644
--- a/src/global.h
+++ b/src/global.h
@@ -155,7 +155,7 @@ See LICENSE file included with the distribution for details and disclaimer.");
OPTION_(global_scope_t, version, DO() { // -v
parent->show_version_info(std::cout);
- throw int(0); // exit immediately
+ throw error_count(0); // exit immediately
});
};