aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic2/Types.cpp
blob: 861ab502b2f780a07197645016278e957cd08027 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "openvic2/Types.hpp"

#include <cassert>

using namespace OpenVic2;

HasIdentifier::HasIdentifier(std::string const& new_identifier) : identifier{ new_identifier } {
   assert(!identifier.empty());
}

std::string const& HasIdentifier::get_identifier() const {
   return identifier;
}