mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 18:17:02 +08:00
Standardize Comments
use double slashes (//) only for comments. closes #4820 No functional change.
This commit is contained in:
committed by
Joost VandeVondele
parent
fe53a18f7a
commit
edb4ab924f
@@ -41,15 +41,15 @@ const int NormalizeToPawnValue = 328;
|
||||
|
||||
class Option;
|
||||
|
||||
/// Define a custom comparator, because the UCI options should be case-insensitive
|
||||
// Define a custom comparator, because the UCI options should be case-insensitive
|
||||
struct CaseInsensitiveLess {
|
||||
bool operator() (const std::string&, const std::string&) const;
|
||||
};
|
||||
|
||||
/// The options container is defined as a std::map
|
||||
// The options container is defined as a std::map
|
||||
using OptionsMap = std::map<std::string, Option, CaseInsensitiveLess>;
|
||||
|
||||
/// The Option class implements each option as specified by the UCI protocol
|
||||
// The Option class implements each option as specified by the UCI protocol
|
||||
class Option {
|
||||
|
||||
using OnChange = void (*)(const Option&);
|
||||
|
||||
Reference in New Issue
Block a user