constexpr/std::array conversions

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-09-26 21:24:41 -07:00
parent 46600931e4
commit 30e3ef4c8e
11 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -180,7 +180,7 @@ Bzip2InputStream::IsEOF() const noexcept
/* exported structures */
static const char *const bz2_extensions[] = {
static constexpr const char *bz2_extensions[] = {
"bz2",
nullptr
};
+1 -1
View File
@@ -319,7 +319,7 @@ Iso9660InputStream::IsEOF() const noexcept
/* exported structures */
static const char *const iso9660_archive_extensions[] = {
static constexpr const char * iso9660_archive_extensions[] = {
"iso",
nullptr
};
+1 -1
View File
@@ -188,7 +188,7 @@ ZzipInputStream::Seek(std::unique_lock<Mutex> &, offset_type new_offset)
/* exported structures */
static const char *const zzip_archive_extensions[] = {
static constexpr const char *zzip_archive_extensions[] = {
"zip",
nullptr
};