Skip to content

Commit

Permalink
'renameFile' -> 'renameFiles'
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch committed Oct 20, 2024
1 parent a1e8e73 commit a9f001d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/project_manager/ros_build_system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ bool ROSBuildSystem::canRenameFile(ProjectExplorer::Node */*context*/, const Uti
return true;
}

bool ROSBuildSystem::renameFile(ProjectExplorer::Node */*context*/, const Utils::FilePath &/*oldFilePath*/, const Utils::FilePath &/*newFilePath*/)
bool ROSBuildSystem::renameFiles(ProjectExplorer::Node */*context*/, const Utils::FilePairs &/*filesToRename*/, Utils::FilePaths */*notRenamed*/)
{
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion src/project_manager/ros_build_system.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class ROSBuildSystem : public ProjectExplorer::BuildSystem
virtual ProjectExplorer::RemovedFilesFromProject removeFiles(ProjectExplorer::Node *context, const Utils::FilePaths &filePaths, Utils::FilePaths *notRemoved = nullptr) override final;
virtual bool deleteFiles(ProjectExplorer::Node *context, const Utils::FilePaths &filePaths) override final;
virtual bool canRenameFile(ProjectExplorer::Node *context, const Utils::FilePath &oldFilePath, const Utils::FilePath &newFilePath) override final;
virtual bool renameFile(ProjectExplorer::Node *context, const Utils::FilePath &oldFilePath, const Utils::FilePath &newFilePath) override final;
virtual bool renameFiles(ProjectExplorer::Node *context, const Utils::FilePairs &filesToRename, Utils::FilePaths *notRenamed) override final;
virtual bool addDependencies(ProjectExplorer::Node *context, const QStringList &dependencies) override final;
virtual bool supportsAction(ProjectExplorer::Node *context, ProjectExplorer::ProjectAction action, const ProjectExplorer::Node *node) const override final;
virtual QString name() const override final;
Expand Down

0 comments on commit a9f001d

Please sign in to comment.