Remove invalid mutable keyword (Stupid msvc) and replace with macro label.
This commit is contained in:
parent
c9db9209d7
commit
a77008b67b
@ -114,7 +114,9 @@ const std::string Ability::GetDescriptionWithPlayerModifiers()const{
|
||||
};
|
||||
const Pixel specialValCol{69,249,255};
|
||||
|
||||
const auto FindAndParse=[&specialPrefixes,&specialValCol](datafile&data,mutable std::string&finalText,mutable bool&bracesFound,mutable std::string&variableName)->bool{
|
||||
#define OUT
|
||||
|
||||
const auto FindAndParse=[&specialPrefixes,&specialValCol](datafile&data,OUT std::string&finalText,OUT bool&bracesFound,OUT std::string&variableName)->bool{
|
||||
if(data.HasProperty(variableName)){
|
||||
finalText+=specialValCol.toHTMLColorCode()+data.GetProperty(variableName).GetFullString()+WHITE.toHTMLColorCode();
|
||||
bracesFound=false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user