diff options
author | Sergio Martins <smartins@kde.org> | 2022-01-20 23:15:59 +0000 |
---|---|---|
committer | Sergio Martins <smartins@kde.org> | 2022-01-20 23:18:47 +0000 |
commit | 821296032a16932cabe012649b4ce898de6e34eb (patch) | |
tree | 49017cef5bd8bfb9af451b7d2fca3b22ecf6a575 | |
parent | 90fba4c27e15ebf9ae042ee1a26a28d8167e981f (diff) |
Fix build on macOSv1.11
string needs to be fully qualified
-rw-r--r-- | src/checks/manuallevel/qt6-deprecated-api-fixes.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/checks/manuallevel/qt6-deprecated-api-fixes.h b/src/checks/manuallevel/qt6-deprecated-api-fixes.h index 78419cde..fc55f418 100644 --- a/src/checks/manuallevel/qt6-deprecated-api-fixes.h +++ b/src/checks/manuallevel/qt6-deprecated-api-fixes.h @@ -58,8 +58,11 @@ public: private: std::vector<clang::SourceLocation> m_listingMacroExpand; void fixForDeprecatedOperator(clang::Stmt* stmt, std::string className); - std::string buildReplacementforQDir(clang::DeclRefExpr *decl_operator, bool isPointer, string replacement, string replacement_var2); - std::string buildReplacementForQVariant(clang::DeclRefExpr* decl_operator, string replacement, string replacement_var2); + std::string buildReplacementforQDir(clang::DeclRefExpr *decl_operator, bool isPointer, + std::string replacement, std::string replacement_var2); + std::string buildReplacementForQVariant(clang::DeclRefExpr* decl_operator, + std::string replacement, + std::string replacement_var2); }; #endif |