Fix some copyright lines in folly/experimental/symbolizer/
[folly.git] / folly / experimental / symbolizer / LineReader.h
index 2527f63bbc01a214a9306acdaa71d01161648c3e..45eae73d8d330af0b500c80154e4fd0f587fd3f0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2013 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.
  * limitations under the License.
  */
 
-#ifndef FOLLY_SYMBOLIZER_LINEREADER_H_
-#define FOLLY_SYMBOLIZER_LINEREADER_H_
+#pragma once
 
 #include <cstddef>
 
 #include <boost/noncopyable.hpp>
 
-#include "folly/Range.h"
+#include <folly/Range.h>
 
-namespace folly { namespace symbolizer {
+namespace folly {
+namespace symbolizer {
 
 /**
  * Async-signal-safe line reader.
@@ -39,7 +39,7 @@ class LineReader : private boost::noncopyable {
   enum State {
     kReading,
     kEof,
-    kError
+    kError,
   };
   /**
    * Read the next line from the file.
@@ -84,8 +84,5 @@ class LineReader : private boost::noncopyable {
   char* end_;
   State state_;
 };
-
-}}  // namespaces
-
-#endif /* FOLLY_SYMBOLIZER_LINEREADER_H_ */
-
+} // namespace symbolizer
+} // namespace folly