start using a .clang-format code style
[awesomized/libmemcached] / test / lib / Connection.hpp
index 8571759eb2a8b0857701043e5735f5660dc8159f..380116e6bdc9bd5aaa11783cf69d8c40d5843a4d 100644 (file)
@@ -1,3 +1,18 @@
+/*
+    +--------------------------------------------------------------------+
+    | libmemcached - C/C++ Client Library for memcached                  |
+    +--------------------------------------------------------------------+
+    | Redistribution and use in source and binary forms, with or without |
+    | modification, are permitted under the terms of the BSD license.    |
+    | You should have received a copy of the license in a bundled file   |
+    | named LICENSE; in case you did not receive a copy you can review   |
+    | the terms online at: https://opensource.org/licenses/BSD-3-Clause  |
+    +--------------------------------------------------------------------+
+    | Copyright (c) 2006-2014 Brian Aker   https://datadifferential.com/ |
+    | Copyright (c) 2020 Michael Wallner   <mike@php.net>                |
+    +--------------------------------------------------------------------+
+*/
+
 #pragma once
 
 #include "common.hpp"
@@ -14,10 +29,10 @@ public:
   void swap(Connection &conn);
 
   Connection(const Connection &conn);
-  Connection &operator = (const Connection &conn);
+  Connection &operator=(const Connection &conn);
 
-  Connection(Connection &&conn) noexcept ;
-  Connection &operator = (Connection &&conn) noexcept ;
+  Connection(Connection &&conn) noexcept;
+  Connection &operator=(Connection &&conn) noexcept;
 
   int getError();
   int getLastError();