folly: avoid compile warning/failure due to lvalue-to-rvalue conversion
[folly.git] / folly / io / TypedIOBuf.h
index 9358cd4dfa61b34d1749339ca05fc487eba23f33..382151e70485b724d2d314daf4728ba4d6f3e8d5 100644 (file)
@@ -20,8 +20,8 @@
 #include <iterator>
 #include <type_traits>
 
-#include <folly/Malloc.h>
 #include <folly/io/IOBuf.h>
+#include <folly/memory/Malloc.h>
 
 namespace folly {
 
@@ -212,4 +212,4 @@ class TypedIOBuf {
   IOBuf* buf_;
 };
 
-}  // namespace folly
+} // namespace folly