Skip to content

Commit

Permalink
Merge pull request #1805 from sillykelvin/patch-1
Browse files Browse the repository at this point in the history
fix compiling error and typo
  • Loading branch information
gabime authored Jan 21, 2021
2 parents 46d4181 + 47cbf38 commit 4271185
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/spdlog/sinks/hourly_file_sink.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace spdlog {
namespace sinks {

/*
* Generator of Houlry log file names in format basename.YYYY-MM-DD-HH.ext
* Generator of Hourly log file names in format basename.YYYY-MM-DD-HH.ext
*/
struct hourly_filename_calculator
{
Expand Down Expand Up @@ -156,7 +156,7 @@ class hourly_file_sink final : public base_sink<Mutex>
if (!ok)
{
filenames_q_.push_back(std::move(current_file));
throw_spdlog_ex("Failed removing hourly file " + filename_to_str(old_filename), errno);
SPDLOG_THROW(spdlog_ex("Failed removing hourly file " + filename_to_str(old_filename), errno));
}
}
filenames_q_.push_back(std::move(current_file));
Expand Down

0 comments on commit 4271185

Please sign in to comment.