summaryrefslogtreecommitdiff
path: root/lib/streamSupport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/streamSupport.cpp')
-rw-r--r--lib/streamSupport.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/streamSupport.cpp b/lib/streamSupport.cpp
index 433fb83..f80f2fa 100644
--- a/lib/streamSupport.cpp
+++ b/lib/streamSupport.cpp
@@ -49,7 +49,8 @@ namespace std {
std::ostream &
operator<<(std::ostream & s, const MyGrate::DateTime & dt)
{
- return MyGrate::scprintf<"%? %?">(s, (const MyGrate::Date)dt, (const MyGrate::Time)dt);
+ return MyGrate::scprintf<"%? %?">(
+ s, static_cast<const MyGrate::Date>(dt), static_cast<const MyGrate::Time>(dt));
}
std::ostream &