Changeset 15003


Ignore:
Timestamp:
03/09/13 13:42:05 (12 years ago)
Author:
tbretz
Message:
Make it compile also with the older g++ on gate.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/InterpreterV8.cc

    r14994 r15003  
    18771877
    18781878        // If line ends with a backslash, allow addition of next line
    1879         if (command.back()=='\\')
     1879        auto back = command.rbegin();
     1880        if (*back=='\\')
    18801881        {
    1881             command[command.length()-1] = ' ';
     1882            *back = ' ';
    18821883            command = Tools::Trim(command);
    18831884            continue;
Note: See TracChangeset for help on using the changeset viewer.