@@ -207,7 +207,7 @@ namespace BfxAPI
207207 const string& strResponse () const noexcept
208208 { return result_ ; }
209209
210- bool hasApiError () const noexcept
210+ bool hasApiError () const noexcept
211211 {
212212 if (bfxApiStatusCode_ == noError && curlStatusCode_ == CURLE_OK)
213213 return false ;
@@ -216,15 +216,17 @@ namespace BfxAPI
216216 }
217217
218218 // Setters
219- void setWDconfFilePath (const string &path) noexcept
219+ constexpr void setWDconfFilePath (const string &path) noexcept
220220 { WDconfFilePath_ = path; }
221- void setKeys (const string &accessKey, const string &secretKey) noexcept
221+
222+ constexpr void setKeys (const string &accessKey, const string &secretKey) noexcept
222223 {
223224 accessKey_ = accessKey;
224225 secretKey_ = secretKey;
225226 }
226- string& setAccessKey () { return accessKey_;}
227- string& setSecretKey () { return secretKey_;}
227+
228+ constexpr string& setAccessKey () { return accessKey_;}
229+ constexpr string& setSecretKey () { return secretKey_;}
228230
229231 // //////////////////////////////////////////////////////////////////////
230232 // Public endpoints
@@ -1073,7 +1075,7 @@ namespace BfxAPI
10731075 // Utility private static methods
10741076 // //////////////////////////////////////////////////////////////////////
10751077
1076- static string bool2string (const bool &in) noexcept
1078+ const static string bool2string (const bool &in) noexcept
10771079 { return in ? " true" : " false" ; };
10781080
10791081 static string getTonce () noexcept
0 commit comments