From 9f99d92e9f85aeafb0cdc63ca672a6bd4f3b2d5c Mon Sep 17 00:00:00 2001 From: David Brazdil Date: Fri, 15 May 2015 15:15:09 +0100 Subject: [PATCH] ART: Fix a minor lint error Change-Id: I956656fa4c36f20d80ef885c03487970f707be8e --- compiler/optimizing/graph_visualizer.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compiler/optimizing/graph_visualizer.cc b/compiler/optimizing/graph_visualizer.cc index 189fa0618..e0a9c6f08 100644 --- a/compiler/optimizing/graph_visualizer.cc +++ b/compiler/optimizing/graph_visualizer.cc @@ -48,8 +48,7 @@ class StringList { // Construct StringList from a linked list. List element class T // must provide methods `GetNext` and `Dump`. template - StringList(T* first_entry) - : StringList() { + explicit StringList(T* first_entry) : StringList() { for (T* current = first_entry; current != nullptr; current = current->GetNext()) { current->Dump(NewEntryStream()); } -- 2.11.0