summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compilerplugins/clang/stringconstant.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/stringconstant.cxx b/compilerplugins/clang/stringconstant.cxx
index 2a1302e0ec5e..5bf439200d61 100644
--- a/compilerplugins/clang/stringconstant.cxx
+++ b/compilerplugins/clang/stringconstant.cxx
@@ -67,7 +67,7 @@ bool hasOverloads(FunctionDecl const * decl, unsigned arguments) {
&& f->getNumParams() >= arguments)
{
auto consDecl = dyn_cast<CXXConstructorDecl>(f);
- if (consDecl && consDecl->isCopyConstructor()) {
+ if (consDecl && consDecl->isCopyOrMoveConstructor()) {
continue;
}
++n;