]> git.sesse.net Git - stockfish/blobdiff - src/bitboard.cpp
Clean functions returning by const values
[stockfish] / src / bitboard.cpp
index 841aa0b6c1f06c8dc5886a49d213417de8f47d50..8146ce9722843eafc7ff9370cf161f96edeb933b 100644 (file)
@@ -55,7 +55,7 @@ inline Bitboard safe_destination(Square s, int step) {
 /// Bitboards::pretty() returns an ASCII representation of a bitboard suitable
 /// to be printed to standard output. Useful for debugging.
 
-const std::string Bitboards::pretty(Bitboard b) {
+std::string Bitboards::pretty(Bitboard b) {
 
   std::string s = "+---+---+---+---+---+---+---+---+\n";