From aa556875c5161d817c347ff984dad171c7a35df9 Mon Sep 17 00:00:00 2001 From: Paul Dreik Date: Mon, 17 Jun 2019 19:38:49 +0200 Subject: [PATCH] review comment: file name convention --- CMakeLists.txt | 2 +- include/fmt/chrono.h | 2 +- include/fmt/{safe_duration_cast.h => safe-duration-cast.h} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename include/fmt/{safe_duration_cast.h => safe-duration-cast.h} (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b9984a80365..6136df7b97a2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -147,7 +147,7 @@ endfunction() # Define the fmt library, its includes and the needed defines. add_headers(FMT_HEADERS chrono.h color.h core.h format.h format-inl.h locale.h - ostream.h prepare.h printf.h time.h ranges.h safe_duration_cast.h) + ostream.h prepare.h printf.h time.h ranges.h safe-duration-cast.h) set(FMT_SOURCES src/format.cc) if (HAVE_OPEN) add_headers(FMT_HEADERS posix.h) diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h index 83a75623ad8a..df653b5ef230 100644 --- a/include/fmt/chrono.h +++ b/include/fmt/chrono.h @@ -17,7 +17,7 @@ #include #ifdef FMT_SAFE_DURATION_CAST -# include "safe_duration_cast.h" +# include "safe-duration-cast.h" #endif FMT_BEGIN_NAMESPACE diff --git a/include/fmt/safe_duration_cast.h b/include/fmt/safe-duration-cast.h similarity index 100% rename from include/fmt/safe_duration_cast.h rename to include/fmt/safe-duration-cast.h