]> git.sesse.net Git - stockfish/blobdiff - src/move.h
Retire 'Randomness' ucioption
[stockfish] / src / move.h
index 0eb7b18b4cc97d8653bba9517d2db40dd7727d5d..bbc2ec099c1134163521a86e26fc1c3ea3d8c5cf 100644 (file)
@@ -101,11 +101,11 @@ inline void sort_moves(T* firstMove, T* lastMove, T** lastPositive)
 
     // Split positives vs non-positives
     do {
-        while ((++p)->score > 0);
+        while ((++p)->score > 0) {}
 
         if (p != d)
         {
-            while (--d != p && d->score <= 0);
+            while (--d != p && d->score <= 0) {}
 
             tmp = *p;
             *p = *d;
@@ -201,8 +201,8 @@ inline Move make_ep_move(Square from, Square to) {
 //// Prototypes
 ////
 
-extern std::ostream& operator<<(std::ostream &os, Move m);
-extern Move move_from_string(const Position &pos, const std::string &str);
+extern std::ostream& operator<<(std::ostreamos, Move m);
+extern Move move_from_string(const Positionpos, const std::string &str);
 extern const std::string move_to_string(Move m);
 extern bool move_is_ok(Move m);