Skip to content

Commit f7f604d

Browse files
committed
Format...
1 parent 103e3f5 commit f7f604d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

trantor/net/InetAddress.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ bool InetAddress::isLoopbackIp() const
196196
return false;
197197
}
198198

199-
static void byteToChars(std::string::iterator& dst, unsigned char byte)
199+
static void byteToChars(std::string::iterator &dst, unsigned char byte)
200200
{
201201
*dst = byte / 100 + '0';
202202
dst += byte >= 100;
@@ -208,7 +208,8 @@ static void byteToChars(std::string::iterator& dst, unsigned char byte)
208208

209209
static std::string iptos(unsigned inet_addr)
210210
{
211-
// Initialize with a static buffer to force the constructor of string to get fully inlined
211+
// Initialize with a static buffer to force the constructor of string to get
212+
// fully inlined
212213
constexpr char stringInitBuffer[15]{};
213214
std::string out(stringInitBuffer, 15);
214215
std::string::iterator dst = out.begin();

0 commit comments

Comments
 (0)