Skip to content

Commit a546e6e

Browse files
committed
C++: Update test to run with C++14
The test uses an `auto` return type without a trailing return type, which is a C++14 feature.
1 parent b9e7045 commit a546e6e

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/test/query-tests/Likely Bugs/Memory Management/ReturnStackAllocatedMemory

1 file changed

+1
-1
lines changed

cpp/ql/test/query-tests/Likely Bugs/Memory Management/ReturnStackAllocatedMemory/test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
// semmle-extractor-options: -std=c++14
22
class MyClass
33
{
44
public:

0 commit comments

Comments
 (0)