Skip to content

Commit

Permalink
replace 'CppProjectUpdater' -> 'ProjectUpdater'
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch committed Jul 16, 2024
1 parent 798421c commit 0b00f5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/project_manager/ros_project.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const int UPDATE_INTERVAL = 300;

ROSProject::ROSProject(const Utils::FilePath &fileName) :
ProjectExplorer::Project(Constants::ROS_MIME_TYPE, fileName),
m_cppCodeModelUpdater(new CppEditor::CppProjectUpdater),
m_cppCodeModelUpdater(ProjectUpdaterFactory::createCppProjectUpdater()),
m_project_loaded(false),
m_asyncUpdateFutureInterface(nullptr),
m_asyncBuildCodeModelFutureInterface(nullptr)
Expand Down
7 changes: 2 additions & 5 deletions src/project_manager/ros_project.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,14 @@
#include <projectexplorer/buildconfiguration.h>
#include <coreplugin/idocument.h>
#include <projectexplorer/rawprojectpart.h>
#include <projectexplorer/projectupdater.h>

#include <QFuture>
#include <QFutureWatcher>
#include <QFutureInterface>
#include <QTimer>
#include <QFileSystemWatcher>

namespace CppEditor {
class CppProjectUpdater;
}

namespace ROSProjectManager {
namespace Internal {

Expand Down Expand Up @@ -88,7 +85,7 @@ private slots:
ROSUtils::PackageInfoMap m_wsPackageInfo;
ROSUtils::PackageBuildInfoMap m_wsPackageBuildInfo;

CppEditor::CppProjectUpdater *m_cppCodeModelUpdater;
ProjectExplorer::ProjectUpdater *m_cppCodeModelUpdater;

// Watching Directories to keep Project Tree updated
QTimer m_asyncUpdateTimer;
Expand Down

0 comments on commit 0b00f5f

Please sign in to comment.