فهرست منبع

LibIMAP: Remove accidental use of STL

Andreas Kling 3 سال پیش
والد
کامیت
ee562a8ed7
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      Userland/Libraries/LibIMAP/Objects.h

+ 1 - 2
Userland/Libraries/LibIMAP/Objects.h

@@ -12,7 +12,6 @@
 #include <AK/Variant.h>
 #include <LibCore/DateTime.h>
 #include <LibCore/Object.h>
-#include <utility>
 
 namespace IMAP {
 enum class CommandType {
@@ -474,7 +473,7 @@ public:
 
     template<typename T>
     explicit SearchKey(T&& t)
-        : data(std::forward<T>(t))
+        : data(forward<T>(t))
     {
     }