summaryrefslogtreecommitdiff
path: root/AK/StdLib.h
diff options
context:
space:
mode:
Diffstat (limited to 'AK/StdLib.h')
-rw-r--r--AK/StdLib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/AK/StdLib.h b/AK/StdLib.h
index c23609451e..5c70559087 100644
--- a/AK/StdLib.h
+++ b/AK/StdLib.h
@@ -24,6 +24,11 @@ static inline T ceilDiv(T a, T b)
return result;
}
+template <typename T>
+T&& move(T& arg)
+{
+ return static_cast<T&&>(arg);
+}
}