Skip to content

Commit c34cdda

Browse files
committed
Lint
1 parent 451334e commit c34cdda

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

lib/inc/drogon/utils/Utilities.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,11 +302,11 @@ DROGON_EXPORT char *getHttpFullDate(
302302
const trantor::Date &date = trantor::Date::now());
303303

304304
DROGON_EXPORT std::string getHttpFullDateStr(
305-
const trantor::Date &date = trantor::Date::now());
305+
const trantor::Date &date = trantor::Date::now());
306306

307307
DROGON_EXPORT void datetoCustomFormattedString(const std::string &fmtStr,
308-
std::string &str,
309-
const trantor::Date &date);
308+
std::string &str,
309+
const trantor::Date &date);
310310
/// Get the trantor::Date object according to the http full date string
311311
/**
312312
* Returns trantor::Date(std::numeric_limits<int64_t>::max()) upon failure.

lib/src/Utilities.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,9 @@ std::string getHttpFullDateStr(const trantor::Date &date)
10571057
return lastTimeString;
10581058
}
10591059
lastSecond = nowSecond;
1060-
datetoCustomFormattedString("%a, %d %b %Y %H:%M:%S GMT", lastTimeString, date);
1060+
datetoCustomFormattedString("%a, %d %b %Y %H:%M:%S GMT",
1061+
lastTimeString,
1062+
date);
10611063
return lastTimeString;
10621064
}
10631065

0 commit comments

Comments
 (0)