Fix copyright lines
[folly.git] / folly / experimental / exception_tracer / StackTrace.cpp
index d13917a29a5750e1d834b2ffeab5ce30bf24237a..aad8de6456b3a0b0477041a6361f65b721aa1050 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2017 Facebook, Inc.
+ * Copyright 2013-present Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 #include <cassert>
 #include <cstdlib>
 #include <new>
+
 #include <folly/experimental/symbolizer/StackTrace.h>
 
-namespace folly { namespace exception_tracer {
+namespace folly {
+namespace exception_tracer {
 
 class StackTraceStack::Node : public StackTrace {
  public:
@@ -31,8 +33,8 @@ class StackTraceStack::Node : public StackTrace {
   Node* next;
 
  private:
-  Node() : next(nullptr) { }
-  ~Node() { }
+  Node() : next(nullptr) {}
+  ~Node() {}
 };
 
 auto StackTraceStack::Node::allocate() -> Node* {
@@ -106,5 +108,5 @@ StackTrace* StackTraceStack::next(StackTrace* p) {
   assert(p);
   return static_cast<Node*>(p)->next;
 }
-
-}}  // namespaces
+} // namespace exception_tracer
+} // namespace folly