Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5bd2f7b

Browse files
committed
Fixed indentation.
1 parent98a3100 commit5bd2f7b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

‎include/network/logging/logging.hpp‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ class log_record
3434
// Implicit construction from anything serializable to text.
3535
template<typename TypeOfSomething >
3636
log_record( TypeOfSomething&& message )
37-
: m_filename("unknown" )
38-
, m_line(0)
37+
: m_filename("unknown" )
38+
, m_line(0)
3939
{
4040
write( std::forward<TypeOfSomething>(message) );
4141
}
4242

4343
// Construction with recording context informations.
4444
log_record( std::string filename,unsignedlong line )
45-
: m_filename( filename )
46-
, m_line( line )
45+
: m_filename( filename )
46+
, m_line( line )
4747
{
4848
}
4949

‎libs/network/src/logging/logging.cpp‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ namespace handler
1818
namespace
1919
{
2020
voidstd_log_handler(const log_record& log )
21-
{
21+
{
2222
std::cerr <<"[network" << log.filename() <<":" << log.line() <<"]"
23-
<< log.message() << std::endl;
23+
<< log.message() << std::endl;
2424
}
2525
}
2626

@@ -47,7 +47,7 @@ void log( const log_record& log )
4747
auto log_handler = current_log_record_handler;
4848
if( log_handler )
4949
{
50-
(*log_handler)( log );
50+
(*log_handler)( log );
5151
}
5252
}
5353

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp