Skip to content

Commit

Permalink
use a class instead of struct
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Dec 31, 2024
1 parent fba0351 commit 5037c3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@

namespace Antares::Data::ShortTermStorage
{
struct SingleAdditionalConstraint

class SingleAdditionalConstraint
{
public:
std::set<int> hours;
unsigned int globalIndex = 0;
unsigned int localIndex = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
** along with Antares_Simulator. If not, see <https://opensource.org/license/mpl-2-0/>.
*/

#include <algorithm>

#include "antares/study/parts/short-term-storage/AdditionalConstraints.h"

#include <algorithm>

namespace Antares::Data::ShortTermStorage
{

Expand Down

0 comments on commit 5037c3e

Please sign in to comment.