Fix usingJEMalloc with Clang
[folly.git] / folly / detail / DiscriminatedPtrDetail.h
index 5cfa9ae8a847d23667826420d87f5ca6b3ebee6b..cb0b407c167be43cae23753a559f2a1416ed708f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2012 Facebook, Inc.
+ * Copyright 2015 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -17,6 +17,7 @@
 #ifndef FOLLY_DETAIL_DISCRIMINATEDPTRDETAIL_H_
 #define FOLLY_DETAIL_DISCRIMINATEDPTRDETAIL_H_
 
+#include <utility>
 #include <type_traits>
 
 namespace folly {
@@ -162,4 +163,3 @@ struct ApplyConstVisitor
 }  // namespace folly
 
 #endif /* FOLLY_DETAIL_DISCRIMINATEDPTRDETAIL_H_ */
-