From ce13fdd109c16da6cd2c5af286918e51479bd6d0 Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <dmitri.naumov@ufz.de>
Date: Wed, 5 Jun 2019 14:48:21 +0200
Subject: [PATCH] [CL] Explicit single argument constructors.

google-explicit-constructor
---
 ChemistryLib/Output.h                        | 2 +-
 ChemistryLib/PhreeqcIOData/AqueousSolution.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ChemistryLib/Output.h b/ChemistryLib/Output.h
index 7142a46836a..3af4978de90 100644
--- a/ChemistryLib/Output.h
+++ b/ChemistryLib/Output.h
@@ -19,7 +19,7 @@ namespace ChemistryLib
 class BasicOutputSetups
 {
 public:
-    BasicOutputSetups(std::string const& project_file_name)
+    explicit BasicOutputSetups(std::string const& project_file_name)
         : output_file(project_file_name + "_phreeqc.out")
     {
     }
diff --git a/ChemistryLib/PhreeqcIOData/AqueousSolution.h b/ChemistryLib/PhreeqcIOData/AqueousSolution.h
index f0de7fbca11..cbcd675fad1 100644
--- a/ChemistryLib/PhreeqcIOData/AqueousSolution.h
+++ b/ChemistryLib/PhreeqcIOData/AqueousSolution.h
@@ -25,7 +25,7 @@ namespace ChemistryLib
 {
 struct Component
 {
-    Component(std::string name_) : name(std::move(name_)) {}
+    explicit Component(std::string name_) : name(std::move(name_)) {}
 
     std::string const name;
     double amount;
-- 
GitLab