aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2018-06-11 11:56:57 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-06-11 19:40:44 +0000
commitbf45c706396041f038656da7560edd24cd1a6cda (patch)
treee0b929bcdea93b30c57f6189d4ab0908135c246f /include/core
parent7d10ed0c91754225eabde47b4d95bf0295fcaed0 (diff)
Clean up a few IWYU issues
Spun off from the SkTFitsIn CL. Change-Id: I686d680df6a36ebc02db3847ad5e2cedcbcd67ef Reviewed-on: https://skia-review.googlesource.com/134083 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkTypes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h
index 06e101efbf..7945e12426 100644
--- a/include/core/SkTypes.h
+++ b/include/core/SkTypes.h
@@ -248,6 +248,8 @@ typedef uint32_t SkMSec;
*/
#ifdef __cplusplus
+#include <utility>
+
/** Generic swap function. Classes with efficient swaps should specialize this function to take
their fast path. This function is used by SkTSort. */
template <typename T> static inline void SkTSwap(T& a, T& b) {