Skip to content

Commit c2260e5

Browse files
MapleMaple
authored andcommitted
minor cleanup
1 parent 43bdbf5 commit c2260e5

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

include/BitfinexAPI.hpp

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ namespace BfxAPI
106106
using vIds = vector<long long>;
107107

108108
////////////////////////////////////////////////////////////////////////
109-
// Constructor - destructor
109+
// Constructor - Destructor
110110
////////////////////////////////////////////////////////////////////////
111111

112112
explicit BitfinexAPI():BitfinexAPI("", "") {}
@@ -180,9 +180,13 @@ namespace BfxAPI
180180
};
181181
}
182182

183-
// BitfinexAPI object cannot be copied
183+
// BitfinexAPI object cannot be
184+
// copied
184185
BitfinexAPI(const BitfinexAPI&) = delete;
185186
BitfinexAPI& operator = (const BitfinexAPI&) = delete;
187+
// moved
188+
BitfinexAPI(BitfinexAPI&&) = delete;
189+
BitfinexAPI& operator = (BitfinexAPI&&) = delete;
186190

187191
~BitfinexAPI()
188192
{
@@ -901,11 +905,11 @@ namespace BfxAPI
901905
return *this;
902906
};
903907

904-
protected:
908+
private:
905909

906-
/////////////////////////////////////////////////////////////////////////
907-
// Protected attributes
908-
/////////////////////////////////////////////////////////////////////////
910+
////////////////////////////////////////////////////////////////////////
911+
// Private attributes
912+
////////////////////////////////////////////////////////////////////////
909913

910914
unordered_set<string> symbols_; // valid symbol pairs
911915
unordered_set<string> currencies_; // valid currencies
@@ -922,7 +926,7 @@ namespace BfxAPI
922926
string result_;
923927

924928
////////////////////////////////////////////////////////////////////////
925-
// Utility protected methods
929+
// Utility private methods
926930
////////////////////////////////////////////////////////////////////////
927931

928932
bfxERR parseWDconfParams(string &params)

0 commit comments

Comments
 (0)