folly: replace old-style header guards with "pragma once"
[folly.git] / folly / gen / String.h
index 40ce1712cc76418cece06f0231142786e65b6a58..ac3c2998951681e63c1f23df9e51efa957184eb5 100644 (file)
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef FOLLY_GEN_STRING_H
-#define FOLLY_GEN_STRING_H
+#pragma once
+#define FOLLY_GEN_STRING_H_
 
 #include <folly/Range.h>
 #include <folly/gen/Base.h>
@@ -246,5 +246,3 @@ StreamSplitter<Callback> streamSplitter(char delimiter,
 }  // namespace folly
 
 #include <folly/gen/String-inl.h>
-
-#endif // FOLLY_GEN_STRING_H