diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-30 07:22:33 -0500 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-30 07:22:33 -0500 |
| commit | 3603b96c3cda0296fc64a591c375d007554bc579 (patch) | |
| tree | 6bd776207478e6a72fea1f748f5b4ae633f6359b /include | |
| parent | f8f05ded6a1da18052a6154393710d55ff6ce8bd (diff) | |
chore: ran format command.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/ocl/core/option.hpp | 2 | ||||
| -rw-r--r-- | include/ocl/io/print.hpp | 4 | ||||
| -rw-r--r-- | include/ocl/net/unique_socket.hpp | 4 |
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); |
