Skip to content

Commit

Permalink
remove includes
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Jan 29, 2025
1 parent 5a59eef commit 7537795
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class ClusterList
**
** The indexes for clusters will be rebuilt.
*/
bool rename(const std::string& idToFind, const std::string& newName);
bool rename(std::string idToFind, std::string newName);

/*!
** \brief Remove properly a cluster
Expand Down
2 changes: 1 addition & 1 deletion src/libs/antares/study/parts/common/cluster_list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ void ClusterList<ClusterT>::rebuildIndexes()
}

template<class ClusterT>
bool ClusterList<ClusterT>::rename(const std::string& idToFind, const std::string& newName)
bool ClusterList<ClusterT>::rename(std::string idToFind, std::string newName)
{
if (idToFind.empty() or newName.empty())
{
Expand Down
6 changes: 0 additions & 6 deletions src/libs/antares/study/parts/renewable/cluster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,7 @@
#include <cassert>
#include <cmath>

#include <yuni/yuni.h>
#include <yuni/core/math.h>
#include <yuni/io/file.h>

#include <antares/inifile/inifile.h>
#include <antares/logs/logs.h>
#include <antares/utils/utils.h>
#include "antares/study/study.h"

using namespace Yuni;
Expand Down

0 comments on commit 7537795

Please sign in to comment.