summaryrefslogtreecommitdiff
path: root/lib/input
diff options
context:
space:
mode:
Diffstat (limited to 'lib/input')
-rw-r--r--lib/input/mysqlBindings.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/input/mysqlBindings.cpp b/lib/input/mysqlBindings.cpp
index 3895821..089ced5 100644
--- a/lib/input/mysqlBindings.cpp
+++ b/lib/input/mysqlBindings.cpp
@@ -22,7 +22,6 @@ namespace MyGrate::Input {
MYSQL_TIME &
operator<<(MYSQL_TIME & t, const DateTime & dt)
{
- return t << (Date)dt << (Time)dt;
+ return t << static_cast<Date>(dt) << static_cast<Time>(dt);
}
-
}