Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
Base
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
CoMISo
Base
Commits
c35d3662
Commit
c35d3662
authored
Jan 24, 2020
by
Martin Marinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix usage of Base::ENDL
parent
a8d36b98
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
Debug/DebOut.hh
Debug/DebOut.hh
+9
-9
Test/Checksum.cc
Test/Checksum.cc
+3
-3
No files found.
Debug/DebOut.hh
View file @
c35d3662
...
...
@@ -56,17 +56,17 @@ class File;
/*!
Stream is a specialization for the Debug system streaming.
*/
class
BASEDLLEXPORT
Stream
:
public
Base
::
IOutputStream
class
BASEDLLEXPORT
Stream
:
public
::
Base
::
IOutputStream
{
public:
Stream
(
File
&
_file
)
:
file_
(
_file
)
{}
Base
::
IOutputStream
&
print
(
const
int
)
override
;
Base
::
IOutputStream
&
print
(
const
size_t
)
override
;
Base
::
IOutputStream
&
print
(
const
float
)
override
;
Base
::
IOutputStream
&
print
(
const
double
)
override
;
Base
::
IOutputStream
&
print
(
const
char
*
const
)
override
;
Base
::
IOutputStream
&
print
(
const
char
)
override
;
::
Base
::
IOutputStream
&
print
(
const
int
)
override
;
::
Base
::
IOutputStream
&
print
(
const
size_t
)
override
;
::
Base
::
IOutputStream
&
print
(
const
float
)
override
;
::
Base
::
IOutputStream
&
print
(
const
double
)
override
;
::
Base
::
IOutputStream
&
print
(
const
char
*
const
)
override
;
::
Base
::
IOutputStream
&
print
(
const
char
)
override
;
private:
File
&
file_
;
...
...
@@ -156,11 +156,11 @@ std::string to_string(const T& _t)
#define DEB_out(LL, AA) DEB_out_if(true, LL, AA)
#define DEB_out_if(CC, LL, AA) \
DEB_if(CC, LL, deb.stream() << AA << Base::ENDL)
DEB_if(CC, LL, deb.stream() << AA <<
::
Base::ENDL)
#define DEB_line(LL, AA) DEB_line_if(true, LL, AA)
#define DEB_line_if(CC, LL, AA) \
DEB_if(CC, LL, deb.stream() << AA << Base::ENDL)
DEB_if(CC, LL, deb.stream() << AA <<
::
Base::ENDL)
#define DEB_warning(LL, AA) DEB_warning_if(true, LL, AA)
#define DEB_warning_if(CC, LL, AA) \
...
...
Test/Checksum.cc
View file @
c35d3662
...
...
@@ -151,7 +151,7 @@ void Object::add(const Result& _rslt, const String& _data)
if
(
prev_call_stck
!=
call_stck
)
{
test_strm
<<
call_stck
<<
Base
::
LF
;
test_strm
<<
call_stck
<<
::
Base
::
ENDL
;
prev_call_stck
=
call_stck
;
}
#endif//DEB_ON
...
...
@@ -159,9 +159,9 @@ void Object::add(const Result& _rslt, const String& _data)
if
(
!
tag_out
)
{
tag_out
=
true
;
test_strm
<<
REPORT_LEVEL_TAG
<<
LEVEL_TEXT
[
run_lvl
]
<<
Base
::
LF
;
test_strm
<<
REPORT_LEVEL_TAG
<<
LEVEL_TEXT
[
run_lvl
]
<<
::
Base
::
ENDL
;
}
test_strm
<<
_rslt
<<
" "
<<
name
()
<<
": "
<<
_data
<<
Base
::
LF
;
test_strm
<<
_rslt
<<
" "
<<
name
()
<<
": "
<<
_data
<<
::
Base
::
ENDL
;
test_strm
.
stream
().
flush
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment