From d52771c7dc5455b77812028cb36270187f3db1bc Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Tue, 20 Oct 2020 13:00:17 -0700 Subject: [PATCH] Avoid deprecation message in sample query --- codeql-custom-queries-cpp/example.ql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codeql-custom-queries-cpp/example.ql b/codeql-custom-queries-cpp/example.ql index cda6e3a..1ea60a7 100644 --- a/codeql-custom-queries-cpp/example.ql +++ b/codeql-custom-queries-cpp/example.ql @@ -7,6 +7,6 @@ import cpp -from Block b +from BlockStmt b where b.getNumStmt() = 0 -select b, "This is an empty block." \ No newline at end of file +select b, "This is an empty block."