constexpr/std::array conversions
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -180,7 +180,7 @@ Bzip2InputStream::IsEOF() const noexcept
|
||||
|
||||
/* exported structures */
|
||||
|
||||
static const char *const bz2_extensions[] = {
|
||||
static constexpr const char *bz2_extensions[] = {
|
||||
"bz2",
|
||||
nullptr
|
||||
};
|
||||
|
||||
@@ -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
|
||||
};
|
||||
|
||||
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user