diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-30 07:48:12 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-30 07:48:12 -0500 |
| commit | 72bc3ef1d59abd79f29bce961344a70558b67f40 (patch) | |
| tree | 6bd776207478e6a72fea1f748f5b4ae633f6359b /include | |
| parent | b02dce0f37c4064bd57b561adf8ca93b25e2bc7b (diff) | |
| parent | 3603b96c3cda0296fc64a591c375d007554bc579 (diff) | |
Merge pull request #33 from amlel-el-mahrouss/develop
chore: ran format command.
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); |
