Skip to content

Commit 823df9e

Browse files
committed
A18-9-1: add std::__1 namespace
1 parent d5073a8 commit 823df9e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cpp/autosar/src/rules/A18-9-1/BindUsed.ql

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ import cpp
1717
import codingstandards.cpp.autosar
1818

1919
predicate isBind(FunctionCall fc) {
20-
fc.getTarget().getQualifiedName() in ["std::bind", "std::bind1st", "std::bind2nd"]
20+
fc.getTarget().getQualifiedName() in [
21+
["std::bind", "std::bind1st", "std::bind2nd",],
22+
["std::__1::bind", "std::__1::bind1st", "std::__1::bind2nd"]
23+
]
2124
}
2225

2326
from FunctionCall fc

0 commit comments

Comments
 (0)