[Lldb-commits] [lldb] r189365 - Remove need of <functional> for CommandObjectCommands.

Virgile Bello virgile.bello at gmail.com
Tue Aug 27 09:22:29 PDT 2013


Author: xen2
Date: Tue Aug 27 11:22:29 2013
New Revision: 189365

URL: http://llvm.org/viewvc/llvm-project?rev=189365&view=rev
Log:
Remove need of <functional> for CommandObjectCommands.

Modified:
    lldb/trunk/source/Commands/CommandObjectCommands.cpp

Modified: lldb/trunk/source/Commands/CommandObjectCommands.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectCommands.cpp?rev=189365&r1=189364&r2=189365&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectCommands.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectCommands.cpp Tue Aug 27 11:22:29 2013
@@ -156,9 +156,9 @@ protected:
             }
             else
             {
-                std::pair<bool,uint64_t> start_idx = {m_options.m_start_idx.OptionWasSet(),m_options.m_start_idx.GetCurrentValue()};
-                std::pair<bool,uint64_t> stop_idx = {m_options.m_stop_idx.OptionWasSet(),m_options.m_stop_idx.GetCurrentValue()};
-                std::pair<bool,uint64_t> count = {m_options.m_count.OptionWasSet(),m_options.m_count.GetCurrentValue()};
+                std::pair<bool,uint64_t> start_idx(m_options.m_start_idx.OptionWasSet(),m_options.m_start_idx.GetCurrentValue());
+                std::pair<bool,uint64_t> stop_idx(m_options.m_stop_idx.OptionWasSet(),m_options.m_stop_idx.GetCurrentValue());
+                std::pair<bool,uint64_t> count(m_options.m_count.OptionWasSet(),m_options.m_count.GetCurrentValue());
                 
                 const CommandHistory& history(m_interpreter.GetCommandHistory());
                                               





More information about the lldb-commits mailing list