folly: replace old-style header guards with "pragma once"
[folly.git] / folly / String.h
index 19a2c3b23727a93d32a3ab312ca7483740af9e3a..5a5763ca0422c1993a61d9739fedd04bc611228a 100644 (file)
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef FOLLY_BASE_STRING_H_
-#define FOLLY_BASE_STRING_H_
+#pragma once
+#define FOLLY_STRING_H_
 
 #include <exception>
 #include <stdarg.h>
@@ -628,5 +628,3 @@ struct has_nothrow_constructor<folly::basic_fbstring<T> > : true_type {
 } // namespace boost
 
 #include <folly/String-inl.h>
-
-#endif