Skip to content

Commit bd1e31b

Browse files
committed
Merge branch 'modern-cpp-refactor' of github.com:rozukke/mcpp into modern-cpp-refactor
2 parents 4a511ec + c7b186c commit bd1e31b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

include/mcpp/block.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class BlockType {
1414
uint8_t mod; // NOLINT
1515

1616
// NOLINTNEXTLINE
17-
constexpr BlockType(uint8_t id = 0, uint8_t mod = 0) : id(id), mod(mod) {};
17+
constexpr BlockType(uint8_t id = 0, uint8_t mod = 0) : id(id), mod(mod){};
1818

1919
/**
2020
* @brief Equality comparison operator.

src/connection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ SocketConnection::SocketConnection(const std::string& address_str, uint16_t port
3333
}
3434

3535
std::string SocketConnection::resolve_hostname(const std::string& hostname) {
36-
struct addrinfo hints{};
36+
struct addrinfo hints {};
3737
struct addrinfo* result;
3838

3939
hints.ai_family = AF_INET;

0 commit comments

Comments
 (0)