git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ticket 12. The if() construction for StopOnError parameter added in the
[stg.git]
/
projects
/
sgconf
/
services.cpp
diff --git
a/projects/sgconf/services.cpp
b/projects/sgconf/services.cpp
index 22a640130ec01c5acbd9049c7bddd051c4799961..e2bf9bf621c3ffc00582e19dd1716724e45a4857 100644
(file)
--- a/
projects/sgconf/services.cpp
+++ b/
projects/sgconf/services.cpp
@@
-28,7
+28,7
@@
void PrintService(const STG::GET_SERVICE::INFO & info, size_t level = 0)
{
std::cout << Indent(level, true) << "name: " << info.name << "\n"
<< Indent(level) << "cost: " << info.cost << "\n"
{
std::cout << Indent(level, true) << "name: " << info.name << "\n"
<< Indent(level) << "cost: " << info.cost << "\n"
- << Indent(level) << "payment day: " <<
info.payDay
<< "\n"
+ << Indent(level) << "payment day: " <<
static_cast<unsigned>(info.payDay)
<< "\n"
<< Indent(level) << "comment: " << info.comment << "\n";
}
<< Indent(level) << "comment: " << info.comment << "\n";
}