Author
anonymous
about 7 years ago
Language
Compiler
Options
Author
anonymous
about 7 years ago
$
prog.cc: In function 'int main()':
prog.cc:45:45: error: passing 'Result::Promise' as 'this' argument discards qualifiers [-fpermissive]
std::string resultString = result.toString();
^
prog.cc:16:18: note: in call to 'std::__cxx11::string Result::Promise::toString() &&'
std::string toString() && {
^~~~~~~~
Exit Code:
1