[Lldb-commits] [lldb] r172840 - /lldb/trunk/include/lldb/Expression/ClangExpressionVariable.h
Matt Kopec
Matt.Kopec at intel.com
Fri Jan 18 12:03:54 PST 2013
Author: mkopec
Date: Fri Jan 18 14:03:54 2013
New Revision: 172840
URL: http://llvm.org/viewvc/llvm-project?rev=172840&view=rev
Log:
Use insert instead of emplace until support/distribution improves on some platforms (ie. Linux).
Modified:
lldb/trunk/include/lldb/Expression/ClangExpressionVariable.h
Modified: lldb/trunk/include/lldb/Expression/ClangExpressionVariable.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Expression/ClangExpressionVariable.h?rev=172840&r1=172839&r2=172840&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Expression/ClangExpressionVariable.h (original)
+++ lldb/trunk/include/lldb/Expression/ClangExpressionVariable.h Fri Jan 18 14:03:54 2013
@@ -124,7 +124,7 @@
void
EnableParserVars(uint64_t parser_id)
{
- m_parser_vars.emplace(parser_id, ParserVars());
+ m_parser_vars.insert(std::make_pair(parser_id, ParserVars()));
}
//----------------------------------------------------------------------
@@ -178,7 +178,7 @@
void
EnableJITVars(uint64_t parser_id)
{
- m_jit_vars.emplace(parser_id, JITVars());
+ m_jit_vars.insert(std::make_pair(parser_id, JITVars()));
}
//----------------------------------------------------------------------
More information about the lldb-commits
mailing list