Merge pull request #136 from EricaNebula/user/ericanebula/primfeed-static-const
primfeed: cannot use string with constexpr; revert to static constmaster
commit
479d55d4db
|
|
@ -337,7 +337,7 @@ void FSPrimfeedPhotoPanel::sendPhoto()
|
|||
{
|
||||
auto ratingToString = [&](int rating)
|
||||
{
|
||||
constexpr std::array<std::string, 4> RATING_NAMES = {
|
||||
static const std::array<std::string, 4> RATING_NAMES = {
|
||||
"general", // 1
|
||||
"moderate", // 2
|
||||
"adult", // 3
|
||||
|
|
|
|||
Loading…
Reference in New Issue