More useful logging upon failed AsyncServerSocket::bind()
[folly.git] / folly / Assume.h
index 1da9bb0d30eae3daf10cf7d7abb6cfb3f5bc314b..7c50a679f0fa6111273ee259fa1873c3c7ee8b32 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2015 Facebook, Inc.
+ * Copyright 2016 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_BASE_ASSUME_H_
-#define FOLLY_BASE_ASSUME_H_
+#pragma once
 
 #include <folly/Portability.h>
 #include <glog/logging.h>
@@ -45,5 +44,3 @@ FOLLY_ALWAYS_INLINE void assume(bool cond) {
 }
 
 }  // namespace folly
-
-#endif