Fixed ambiguity between <<lambda and <<(String&&, T)

git-svn-id: svn://ultimatepp.org/upp/trunk@9921 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-06-11 15:55:50 +00:00
commit a9336c11a8
20 changed files with 39 additions and 55 deletions

View file

@ -23,7 +23,7 @@ void Gdb_MI2::SyncExplorer()
String expr;
{
GuiLock __;
expr = explorerExprEdit;
expr = ~explorerExprEdit;
}
// create a vari object and evaluate '*this' expression
@ -153,7 +153,7 @@ void Gdb_MI2::SyncExplorer(const Vector<VarItem>& children_)
void Gdb_MI2::doExplore(String const &expr, bool appendHistory)
{
// set the expression inside expression editor
explorerExprEdit = expr;
explorerExprEdit <<= expr;
// update the history : trim it from past current position
// and append it at end