]> git.sesse.net Git - stockfish/blobdiff - src/uci.h
Unify type alias declarations
[stockfish] / src / uci.h
index 5d8ccf1afff99e759f30e1eef9fa6c7742be9053..70e45accd1cf7f2d0108c5d34436ad5a74555065 100644 (file)
--- 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<std::string, Option, CaseInsensitiveLess> OptionsMap;
+using OptionsMap = std::map<std::string, Option, CaseInsensitiveLess>;
 
 /// 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);