Skip to content

Commit 0fdc5a3

Browse files
committed
Generate stubs for function pointers of inner structs
1 parent 83a81ec commit 0fdc5a3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

server/src/visitors/FunctionPointerForStubsVisitor.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ namespace visitor {
5656
const tests::AbstractValueView *view,
5757
const std::string &access,
5858
int depth) {
59-
if (depth == 0) {
60-
AbstractValueViewVisitor::visitPointer(type, name, view, access, depth);
61-
}
59+
AbstractValueViewVisitor::visitPointer(type, name, view, access, depth);
6260
}
6361

6462
void FunctionPointerForStubsVisitor::visitArray(const types::Type &type,

0 commit comments

Comments
 (0)