Skip to content

Commit 458b656

Browse files
format
1 parent 916bdde commit 458b656

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libcxx/include/fstream

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,17 +310,17 @@ protected:
310310

311311
_LIBCPP_HIDE_FROM_ABI_VIRTUAL streamsize xsgetn(char_type* __str, streamsize __len) override {
312312
if (__always_noconv_) {
313-
const streamsize __n = std::min( this->egptr() - this->gptr(), __len);
313+
const streamsize __n = std::min(this->egptr() - this->gptr(), __len);
314314
if (__n != 0) {
315315
traits_type::copy(__str, this->gptr(), __n);
316316
this->__gbump_ptrdiff(__n);
317317
}
318-
const streamsize __remainder = __len - __n;
318+
const streamsize __remainder = __len - __n;
319319
const streamsize __buffer_space = this->egptr() - this->eback();
320320

321321
if (__remainder >= __buffer_space)
322322
return std::fread(__str + __n, sizeof(char_type), __remainder, __file_) + __n;
323-
else if( __remainder > 0)
323+
else if (__remainder > 0)
324324
return basic_streambuf<_CharT, _Traits>::xsgetn(__str + __n, __remainder) + __n;
325325
return __n;
326326
}

0 commit comments

Comments
 (0)