Skip to content

Commit

Permalink
Default-initialize hashcode instead of calling Invalidate()
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.code.sf.net/p/fuego/code/trunk@2008 2e953b5c-c64d-0410-be54-f773e93e544c
  • Loading branch information
mmueller65 committed Aug 16, 2015
1 parent 38b2db6 commit 6143090
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions go/GoSafetySolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ class GoSafetySolver : public GoStaticSafetySolver
public:
/** Constructor, @see GoStaticSafetySolver */
explicit GoSafetySolver(const GoBoard& board, GoRegionBoard* regions = 0)
: GoStaticSafetySolver(board, regions)
{
m_code.Invalidate();
}
: GoStaticSafetySolver(board, regions),
m_code()
{ }

/** Main function, compute safe points */
void FindSafePoints(SgBWSet* safe);
Expand Down

0 comments on commit 6143090

Please sign in to comment.