[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master fd44389 03/33: Include appropriate headers, a
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master fd44389 03/33: Include appropriate headers, and say why they're included |
Date: |
Mon, 3 May 2021 08:15:50 -0400 (EDT) |
branch: master
commit fd443899a1477b321eb16ad77094c5c702d4a926
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Include appropriate headers, and say why they're included
---
cache_file_reads.hpp | 2 --
calendar_date.cpp | 2 +-
miscellany.cpp | 2 +-
test_coding_rules.cpp | 2 +-
4 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/cache_file_reads.hpp b/cache_file_reads.hpp
index f4e359f..df9908c 100644
--- a/cache_file_reads.hpp
+++ b/cache_file_reads.hpp
@@ -27,10 +27,8 @@
#include "assert_lmi.hpp"
#include "path.hpp"
-#include <ctime> // time_t
#include <map>
#include <memory> // shared_ptr
-#include <string>
#include <utility> // make_pair()
namespace detail
diff --git a/calendar_date.cpp b/calendar_date.cpp
index db1c1a0..05d5de3 100644
--- a/calendar_date.cpp
+++ b/calendar_date.cpp
@@ -29,7 +29,7 @@
#include "zero.hpp"
#include <algorithm> // max(), min()
-#include <ctime>
+#include <ctime> // time_t
#include <iomanip>
#include <ios>
#include <istream>
diff --git a/miscellany.cpp b/miscellany.cpp
index 8f7e9b2..73228b0 100644
--- a/miscellany.cpp
+++ b/miscellany.cpp
@@ -32,7 +32,7 @@
#include <cmath> // ceil(), floor()
#include <cstddef> // size_t
#include <cstdio> // snprintf()
-#include <ctime>
+#include <ctime> // time_t
#include <fstream>
#include <istream>
#include <iterator> // istreambuf_iterator
diff --git a/test_coding_rules.cpp b/test_coding_rules.cpp
index 92052e6..36e4c4d 100644
--- a/test_coding_rules.cpp
+++ b/test_coding_rules.cpp
@@ -30,7 +30,7 @@
#include "ssize_lmi.hpp"
#include <algorithm> // is_sorted()
-#include <ctime>
+#include <ctime> // time_t
#include <iomanip>
#include <ios>
#include <iostream>
- [lmi-commits] [lmi] master 271a1b8 09/33: Note a deferred boost-migration question, (continued)
- [lmi-commits] [lmi] master 271a1b8 09/33: Note a deferred boost-migration question, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master 2025958 06/33: Names are stronger than comments, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master bb267b7 18/33: Reinstate some recently-removed documentation, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master 6d7a545 26/33: Reinsert a required empty line, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master ea4515f 04/33: Further deboostify, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master 4faab10 01/33: Adjust whitespace for microconcinnity, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master f4f4756 05/33: Resolve a marked defect [283], Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master c98c00d 10/33: Say "basename" rather than "leaf", Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master 1a68606 23/33: Conserve 80-character maximum width, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master e33e392 22/33: Correct and reformat the modify_directory() documentation, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master fd44389 03/33: Include appropriate headers, and say why they're included,
Greg Chicares <=
- [lmi-commits] [lmi] master fdc0f5a 07/33: Deboostify even more, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master 41274a8 14/33: Improve documentation, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master e4d2f31 08/33: Rename a function, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master 2038991 15/33: Improve concinnity, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master 9235f33 16/33: Avoid implicit conversion to fs::path, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master 4ab2c4e 20/33: Further improve modify_directory() documentation, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master b64436f 19/33: Improve modify_directory() documentation and tests, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master 0e3d61a 21/33: Rework modify_directory() documentation; augment unit test, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master 40096c3 24/33: Conserve 70-character comment width, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master 4473403 29/33: Improve output spacing, Greg Chicares, 2021/05/03