Skip to content
Snippets Groups Projects
Commit 13cec2ca authored by Armin Co's avatar Armin Co
Browse files

Fixed for c++11

parent 40d69939
Branches
No related tags found
No related merge requests found
...@@ -9,8 +9,8 @@ struct CleanPower ...@@ -9,8 +9,8 @@ struct CleanPower
struct PowerProduction struct PowerProduction
{ {
float conventional = 0.0; float conventional;
CleanPower renewable {0.0, 0.0}; CleanPower renewable;
}; };
struct PowerUsage struct PowerUsage
...@@ -83,9 +83,8 @@ constexpr float power_wind[] { ...@@ -83,9 +83,8 @@ constexpr float power_wind[] {
int main() int main()
{ {
using namespace std::literals;
spdlog::info("start"); spdlog::info("start");
std::this_thread::sleep_for(3s); std::this_thread::sleep_for(std::chrono::seconds(3));
spdlog::info("end"); spdlog::info("end");
// Intialisation // Intialisation
// put model into a base state // put model into a base state
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment