diff options
author | rtk0c <[email protected]> | 2021-05-31 12:27:58 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2021-05-31 12:27:58 -0700 |
commit | 8157678eba97d7de5c53b424a9866d327392bbd9 (patch) | |
tree | 26348a926040ccfc91f74cdfe49f7153db271f87 /core/src/UI/UI_DatabaseView.cpp | |
parent | eef2514908cdec3ec02888b7467cc877d33c1ceb (diff) |
Fix standard incompetence found by MSVC
- requires-expression still not working, because they aren't supported yet outside of a concept
Diffstat (limited to 'core/src/UI/UI_DatabaseView.cpp')
-rw-r--r-- | core/src/UI/UI_DatabaseView.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/src/UI/UI_DatabaseView.cpp b/core/src/UI/UI_DatabaseView.cpp index 73ea657..06326ae 100644 --- a/core/src/UI/UI_DatabaseView.cpp +++ b/core/src/UI/UI_DatabaseView.cpp @@ -489,8 +489,8 @@ private: entries.push_back(DeliveryEntry{ .Items = std::move(items), .ItemsSummary = std::move(summary), - .ShipmentTime = StringifyTimeStamp(stmt.getColumn(arrivalTimeCol).getInt64()), - .ArriveTime = StringifyTimeStamp(stmt.getColumn(sendTimeCol).getInt64()), + .ShipmentTime = TimeUtils::StringifyTimeStamp(stmt.getColumn(arrivalTimeCol).getInt64()), + .ArriveTime = TimeUtils::StringifyTimeStamp(stmt.getColumn(sendTimeCol).getInt64()), .Direction = type, }); } @@ -557,7 +557,7 @@ private: if constexpr (kHasDeadline) { auto timeStamp = stmt.getColumn(deadlineCol).getInt64(); - entry.Deadline = StringifyTimeStamp(timeStamp); + entry.Deadline = TimeUtils::StringifyTimeStamp(timeStamp); } if constexpr (kHasFactory) { @@ -567,12 +567,12 @@ private: if constexpr (kHasOrderTime) { auto timeStamp = stmt.getColumn(orderTimeCol).getInt64(); - entry.OrderTime = StringifyTimeStamp(timeStamp); + entry.OrderTime = TimeUtils::StringifyTimeStamp(timeStamp); } if constexpr (kHasCompletionTime) { auto timeStamp = stmt.getColumn(deliveryTimeCol).getInt64(); - entry.DeliveryTime = StringifyTimeStamp(timeStamp); + entry.DeliveryTime = TimeUtils::StringifyTimeStamp(timeStamp); } } |