mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 14:20:05 +00:00
Support GCC 11
This commit is contained in:
parent
97035e5596
commit
57e9069f0a
6 changed files with 10 additions and 9 deletions
|
|
@ -71,7 +71,7 @@ AwsLevel2DataProvider::GetTimePointFromKey(const std::string& key)
|
|||
(lastSeparator == std::string::npos) ? 0 : lastSeparator + 5;
|
||||
|
||||
// Filename format is GGGGYYYYMMDD_TTTTTT(_V##).gz
|
||||
static constexpr size_t formatSize = std::string("YYYYMMDD_TTTTTT").size();
|
||||
static const size_t formatSize = std::string("YYYYMMDD_TTTTTT").size();
|
||||
|
||||
if (key.size() >= offset + formatSize)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue