Fix std::max() call in Compression.cpp
[folly.git] / folly / IntrusiveList.h
index 5e47c347e8394793621abcf332e95641b8e81993..0c799f1b11a659295d8be1d4947e3a59eb2fc3e1 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_INTRUSIVELIST_H_
-#define FOLLY_INTRUSIVELIST_H_
+#pragma once
 
 /*
  * This file contains convenience aliases that make boost::intrusive::list
@@ -117,5 +116,3 @@ using CountedIntrusiveList = boost::intrusive::list<
     boost::intrusive::constant_time_size<true>>;
 
 } // folly
-
-#endif // FOLLY_INTRUSIVELIST_H_