tfiala added a subscriber: tfiala.

================
Comment at: source/Core/Debugger.cpp:426
@@ +425,3 @@
+    for (const auto& debugger: debuggers)
+        debugger->Clear();
+
----------------
Wouldn't Clear() be considered a mutating function?  So a const debugger ref 
seems like maybe it should be non-const?

i.e.
for (auto& debugger: debuggers) {
     debugger->Clear();
}



http://reviews.llvm.org/D12683



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to