Changeset View
Changeset View
Standalone View
Standalone View
head/devel/kyua/files/patch-utils_datetime.cpp
$FreeBSD$ | |||||
--- utils/datetime.cpp.orig | --- utils/datetime.cpp.orig | ||||
+++ utils/datetime.cpp | +++ utils/datetime.cpp | ||||
@@ -590,11 +590,12 @@ | @@ -590,11 +590,12 @@ | ||||
datetime::delta | datetime::delta | ||||
datetime::timestamp::operator-(const datetime::timestamp& other) const | datetime::timestamp::operator-(const datetime::timestamp& other) const | ||||
{ | { | ||||
- if ((*this) < other) { | - if ((*this) < other) { | ||||
- throw std::runtime_error( | - throw std::runtime_error( | ||||
Show All 12 Lines |