Codebase list mozc / 8ad0a05
Adding using declarations for std::swap. Closes #424. BUG=#392,#424 REF_BUG= REF_CL=152632013 REF_TIME=2017-04-09T12:12:55-04:00 REF_TIME_RAW=1491754375 -0400 catlyons 7 years ago
2 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
2929
3030 MAJOR=2
3131 MINOR=21
32 BUILD=2703
32 BUILD=2704
3333 REVISION=102
3434 # This version represents the version of Mozc IME engine (converter, predictor,
3535 # etc.). This version info is included both in the Mozc server and in the Mozc
840840 // swap.
841841 if (i + 1 < prefix.size()) {
842842 string swapped_prefix = prefix;
843 using std::swap;
843844 swap(swapped_prefix[i], swapped_prefix[i + 1]);
844845 if (Util::StartsWith(str, swapped_prefix)) {
845846 return true;