Use cstdint instead of inttypes.h
authorChristopher Dykes <cdykes@fb.com>
Mon, 27 Feb 2017 03:19:28 +0000 (19:19 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 27 Feb 2017 03:20:14 +0000 (19:20 -0800)
Summary: This is the only place `inttypes.h` is used in Folly and it's used in a context where `cstdint` would have sufficed.

Reviewed By: yfeldblum

Differential Revision: D4619248

fbshipit-source-id: e67dccb7d8bf1ad5f7539d4b039590253e8d8c79

folly/io/async/DelayedDestructionBase.h

index 65c326f6d003d006ad5fde3ddbac07c07cc9f5a4..2b329db111495239f81e48e969f4c02c6aef90a1 100644 (file)
 
 #include <assert.h>
 #include <cstddef>
+#include <cstdint>
+#include <functional>
 #include <memory>
 #include <type_traits>
 #include <utility>
+
 #include <boost/noncopyable.hpp>
-#include <functional>
 #include <glog/logging.h>
-#include <inttypes.h>
 
 namespace folly {