X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fuci.h;h=70e45accd1cf7f2d0108c5d34436ad5a74555065;hb=564456a6a824bfca26d6d9af5b35a055eb9fc6c2;hp=5d8ccf1afff99e759f30e1eef9fa6c7742be9053;hpb=ff5a6f8df196d61a0d9b1ebe54d84eeb9af20079;p=stockfish diff --git a/src/uci.h b/src/uci.h index 5d8ccf1a..70e45acc 100644 --- a/src/uci.h +++ b/src/uci.h @@ -45,12 +45,12 @@ struct CaseInsensitiveLess { }; /// The options container is defined as a std::map -typedef std::map OptionsMap; +using OptionsMap = std::map; /// The Option class implements each option as specified by the UCI protocol class Option { - typedef void (*OnChange)(const Option&); + using OnChange = void (*)(const Option&); public: Option(OnChange = nullptr);