aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/clang/AST/DeclObjC.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/DeclObjC.h b/include/clang/AST/DeclObjC.h
index e7fa5e7d2b..54649575db 100644
--- a/include/clang/AST/DeclObjC.h
+++ b/include/clang/AST/DeclObjC.h
@@ -932,7 +932,7 @@ public:
friend bool operator==(filtered_category_iterator X,
filtered_category_iterator Y) {
- return X.Current = Y.Current;
+ return X.Current == Y.Current;
}
friend bool operator!=(filtered_category_iterator X,