Skip to content

Commit

Permalink
Corrections for older compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinschmidmayer committed Mar 18, 2021
1 parent 335aee3 commit 61007b9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/Errors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ void Errors::prepareErrorFiles(const std::string& folder)
fileStream.open((myStream.str()).c_str());
fileStream.close();

myStream = std::stringstream();
myStream.str("");
myStream.clear();
fileName = "warning";
myStream << folder << "errorsAndWarnings/" << fileName << "_CPU" << rankCpu << ".out";
fileStream.open((myStream.str()).c_str());
Expand Down
8 changes: 4 additions & 4 deletions src/Parallel/decomposition.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ class Decomposition

public: //Ctors
Decomposition() = default;
Decomposition(const Decomposition& other) = default;
Decomposition(Decomposition&& other) = default;
Decomposition& operator=(const Decomposition& other) & = default;
Decomposition& operator=(Decomposition&& other) & = default;
Decomposition(const Decomposition& /*other*/) = default;
Decomposition(Decomposition&& /*other*/) = default;
Decomposition& operator=(const Decomposition& /*other*/) & = default;
Decomposition& operator=(Decomposition&& /*other*/) & = default;
~Decomposition() = default;


Expand Down
2 changes: 1 addition & 1 deletion src/Relaxations/RelaxationPTMu.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

#include "Relaxation.h"

//! \class RelaxationPTMU
//! \class RelaxationPTMu
//! \brief Pressure-Temperature-Chemical Potential relaxation / Phase change
class RelaxationPTMu : public Relaxation
{
Expand Down

0 comments on commit 61007b9

Please sign in to comment.