Skip to content

Commit 926527a

Browse files
committed
clang-tidy
1 parent 9ce192e commit 926527a

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/games/gametree.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -671,8 +671,7 @@ GameInfoset GameTreeNodeRep::InsertMove(GameInfoset p_infoset)
671671
//------------------------------------------------------------------------
672672

673673
GameTreeRep::GameTreeRep()
674-
: m_numNodes(1), m_computedValues(false), m_doCanon(true),
675-
m_root(new GameTreeNodeRep(this, nullptr)), m_chance(new GamePlayerRep(this, 0))
674+
: m_root(new GameTreeNodeRep(this, nullptr)), m_chance(new GamePlayerRep(this, 0))
676675
{
677676
}
678677

src/games/gametree.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ class GameTreeRep : public GameExplicitRep {
213213
mutable bool m_computedValues{false}, m_doCanon{true};
214214
GameTreeNodeRep *m_root;
215215
GamePlayerRep *m_chance;
216-
std::size_t m_numNodes;
216+
std::size_t m_numNodes = 1;
217217

218218
/// @name Private auxiliary functions
219219
//@{

0 commit comments

Comments
 (0)