Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4ecb8a4

Browse files
committed
Remove unnecessary operator() check
1 parent286001c commit4ecb8a4

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

‎CppHeaderParser/CppHeaderParser.py‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3288,13 +3288,6 @@ def _evaluate_stack(self, token=None):
32883288
debug_caller_lineno,
32893289
)
32903290

3291-
# Handle special case of overloading operator ()
3292-
if"operator()("in"".join(self.nameStack):
3293-
operator_index=self.nameStack.index("operator")
3294-
self.nameStack.pop(operator_index+2)
3295-
self.nameStack.pop(operator_index+1)
3296-
self.nameStack[operator_index]="operator()"
3297-
32983291
iflen(self.curClass):
32993292
debug_print("%s (%s) ",self.curClass,self.curAccessSpecifier)
33003293
else:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp