Fix build with GCC.
This commit is contained in:
parent
6c33f9218e
commit
28fd4eea95
1 changed files with 2 additions and 2 deletions
|
|
@ -833,7 +833,7 @@ void PreloadTextSpoilerMask() {
|
||||||
}
|
}
|
||||||
|
|
||||||
const SpoilerMessCached &DefaultTextSpoilerMask() {
|
const SpoilerMessCached &DefaultTextSpoilerMask() {
|
||||||
static const auto once = [&] {
|
[[maybe_unused]] static const auto once = [&] {
|
||||||
PreloadTextSpoilerMask();
|
PreloadTextSpoilerMask();
|
||||||
return 0;
|
return 0;
|
||||||
}();
|
}();
|
||||||
|
|
@ -866,7 +866,7 @@ void PreloadImageSpoiler() {
|
||||||
}
|
}
|
||||||
|
|
||||||
const SpoilerMessCached &DefaultImageSpoiler() {
|
const SpoilerMessCached &DefaultImageSpoiler() {
|
||||||
static const auto once = [&] {
|
[[maybe_unused]] static const auto once = [&] {
|
||||||
PreloadImageSpoiler();
|
PreloadImageSpoiler();
|
||||||
return 0;
|
return 0;
|
||||||
}();
|
}();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue