diff options
Diffstat (limited to 'tools/viewer/BisectSlide.cpp')
-rw-r--r-- | tools/viewer/BisectSlide.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/viewer/BisectSlide.cpp b/tools/viewer/BisectSlide.cpp index 38ab3c3ffd..0239ef2b0d 100644 --- a/tools/viewer/BisectSlide.cpp +++ b/tools/viewer/BisectSlide.cpp @@ -11,6 +11,8 @@ #include "SkPicture.h" #include "SkStream.h" +#include <utility> + #ifdef SK_XML #include "SkDOM.h" #include "../experimental/svg/model/SkSVGDOM.h" @@ -74,7 +76,8 @@ bool BisectSlide::onChar(SkUnichar c) { switch (c) { case 'X': if (!fTossedPaths.empty()) { - SkTSwap(fFoundPaths, fTossedPaths); + using std::swap; + swap(fFoundPaths, fTossedPaths); if ('X' == fTrail.back()) { fTrail.pop_back(); } else { |