mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 21:10:04 +00:00
Support GCC 11
This commit is contained in:
parent
97035e5596
commit
57e9069f0a
6 changed files with 10 additions and 9 deletions
|
|
@ -96,8 +96,7 @@ AwsLevel3DataProvider::GetTimePointFromKey(const std::string& key)
|
|||
constexpr size_t offset = 8;
|
||||
|
||||
// Filename format is GGG_PPP_YYYY_MM_DD_HH_MM_SS
|
||||
static constexpr size_t formatSize =
|
||||
std::string("YYYY_MM_DD_HH_MM_SS").size();
|
||||
static const size_t formatSize = std::string("YYYY_MM_DD_HH_MM_SS").size();
|
||||
|
||||
if (key.size() >= offset + formatSize)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue