Properly report observable returning nullptr
[folly.git] / folly / ThreadCachedInt.h
index d573ed656723d5ef0bc8fb1b2a1aab22b4cdbc2c..fcc4a7ea0e2f18e256f7c79db215d170a5e2a1de 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2014 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.
@@ -20,8 +20,7 @@
  * @author Spencer Ahrens (sahrens)
  */
 
-#ifndef FOLLY_THREADCACHEDINT_H
-#define FOLLY_THREADCACHEDINT_H
+#pragma once
 
 #include <atomic>
 
@@ -175,5 +174,3 @@ class ThreadCachedInt : boost::noncopyable {
 };
 
 }
-
-#endif