[Gui] Switch from boost::tuple to std::tuple
It's better to use the standard lib when possible
This commit is contained in:
@@ -454,7 +454,6 @@ void ExpressionCompleter::slotUpdate(const QString & prefix, int pos)
|
||||
{
|
||||
init();
|
||||
|
||||
using namespace boost::tuples;
|
||||
std::string completionPrefix;
|
||||
|
||||
// Compute start; if prefix starts with =, start parsing from offset 1.
|
||||
@@ -469,7 +468,7 @@ void ExpressionCompleter::slotUpdate(const QString & prefix, int pos)
|
||||
std::string expression = Base::Tools::toStdString(prefix.mid(start));
|
||||
|
||||
// Tokenize prefix
|
||||
std::vector<boost::tuple<int, int, std::string> > tokens = ExpressionParser::tokenize(expression);
|
||||
std::vector<std::tuple<int, int, std::string> > tokens = ExpressionParser::tokenize(expression);
|
||||
|
||||
// No tokens
|
||||
if (tokens.size() == 0) {
|
||||
|
||||
Reference in New Issue
Block a user