Fix class member shadowing in folly::ProducerConsumerQueue
[folly.git] / folly / FormatTraits.h
index 7ca2ae5ef9282ae61eeecc95b29413680532bf47..145c256da160a84b4239d401e4eeeed872260ccb 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2015 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_FORMAT_TRAITS_H_
-#define FOLLY_FORMAT_TRAITS_H_
+#pragma once
 
 #include <type_traits>
 
@@ -62,5 +61,3 @@ struct IndexableTraitsAssoc : public FormatTraitsBase {
 };
 
 }}  // namespaces
-
-#endif /* FOLLY_FORMAT_TRAITS_H_ */