Skip to content

Commit

Permalink
Fix log level
Browse files Browse the repository at this point in the history
  • Loading branch information
TrentHouliston committed Aug 9, 2023
1 parent c0e9081 commit 96e2000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Environment.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ class PowerPlant;
*/
class Environment {
public:
Environment(PowerPlant& powerplant, std::string&& reactor_name, LogLevel log_level)
: powerplant(powerplant), log_level(log_level), reactor_name(reactor_name) {}
Environment(PowerPlant& powerplant, std::string reactor_name, const LogLevel& log_level)
: powerplant(powerplant), log_level(log_level), reactor_name(std::move(reactor_name)) {}

private:
friend class PowerPlant;
Expand Down

0 comments on commit 96e2000

Please sign in to comment.