summaryrefslogtreecommitdiff
path: root/src/scope.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/scope.h')
-rw-r--r--src/scope.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scope.h b/src/scope.h
index 2722b041..f42bf9a5 100644
--- a/src/scope.h
+++ b/src/scope.h
@@ -246,7 +246,7 @@ inline T& find_scope(child_scope_t& scope, bool skip_this = true)
if (T * sought = search_scope<T>(skip_this ? scope.parent : &scope))
return *sought;
- throw_(std::runtime_error, "Could not find scope");
+ throw_(std::runtime_error, _("Could not find scope"));
return reinterpret_cast<T&>(scope); // never executed
}