summaryrefslogtreecommitdiff
path: root/src/scope.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/scope.h')
-rw-r--r--src/scope.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/scope.h b/src/scope.h
index 35b5332e..37ca1ccd 100644
--- a/src/scope.h
+++ b/src/scope.h
@@ -185,6 +185,9 @@ public:
std::size_t size() const {
return args.size();
}
+ bool empty() const {
+ return args.size() == 0;
+ }
};
/**