]> git.sesse.net Git - stockfish/blobdiff - src/material.h
Rename getters functions removing 'get_' prefix
[stockfish] / src / material.h
index e33fc87bdf8c2ae8f590b64aba27b133c7ac7271..94c2d637e4e88a395b4a8c27152bb1ed8637fd08 100644 (file)
@@ -68,13 +68,13 @@ private:
 
 
 /// The MaterialInfoTable class represents a pawn hash table. The most important
-/// method is get_material_info, which returns a pointer to a MaterialInfo object.
+/// method is material_info(), which returns a pointer to a MaterialInfo object.
 
 class MaterialInfoTable : public SimpleHash<MaterialInfo, MaterialTableSize> {
 public:
   ~MaterialInfoTable();
   void init();
-  MaterialInfo* get_material_info(const Position& pos) const;
+  MaterialInfo* material_info(const Position& pos) const;
   static Phase game_phase(const Position& pos);
 
 private: