summaryrefslogtreecommitdiffhomepage
path: root/include/ocl
diff options
context:
space:
mode:
Diffstat (limited to 'include/ocl')
-rw-r--r--include/ocl/core/option.hpp2
-rw-r--r--include/ocl/io/print.hpp4
-rw-r--r--include/ocl/net/unique_socket.hpp4
3 files changed, 6 insertions, 4 deletions
diff --git a/include/ocl/core/option.hpp b/include/ocl/core/option.hpp
index 5bae9a2..e333dd5 100644
--- a/include/ocl/core/option.hpp
+++ b/include/ocl/core/option.hpp
@@ -31,7 +31,7 @@ namespace ocl
~option() = default;
option& operator=(const option&) = default;
- option(const option&) = default;
+ option(const option&) = default;
option& expect(const char_type* input)
{
diff --git a/include/ocl/io/print.hpp b/include/ocl/io/print.hpp
index 1220cec..669dfef 100644
--- a/include/ocl/io/print.hpp
+++ b/include/ocl/io/print.hpp
@@ -22,7 +22,9 @@ namespace ocl::io
console_io_out << fmt;
}
- inline void print() noexcept {}
+ inline void print() noexcept
+ {
+ }
template <typename... Args>
inline void print(Args... fmt) noexcept
diff --git a/include/ocl/net/unique_socket.hpp b/include/ocl/net/unique_socket.hpp
index 2f8f744..b47dbac 100644
--- a/include/ocl/net/unique_socket.hpp
+++ b/include/ocl/net/unique_socket.hpp
@@ -69,8 +69,8 @@ namespace ocl::net
auto ret = ::recv(cl_, static_cast<void*>(const_cast<char*>(out)), len, 0);
unique_socket sock;
-
- sock.fd_ = cl_;
+
+ sock.fd_ = cl_;
sock.bad_ = ret > 0L;
return std::move(sock);