allow AsyncSignalHandler to attach and detach from an EventBase
[folly.git] / folly / io / TypedIOBuf.h
index 9ccb7bc54e30b472b61f3bd5e1f648c933048ae5..9358cd4dfa61b34d1749339ca05fc487eba23f33 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2014 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -14,8 +14,7 @@
  * limitations under the License.
  */
 
-#ifndef FOLLY_IO_TYPEDIOBUF_H_
-#define FOLLY_IO_TYPEDIOBUF_H_
+#pragma once
 
 #include <algorithm>
 #include <iterator>
@@ -214,6 +213,3 @@ class TypedIOBuf {
 };
 
 }  // namespace folly
-
-#endif /* FOLLY_IO_TYPEDIOBUF_H_ */
-