Vivian Meazza discovered:
> AIFlightPlan.cxx:69: error: passing `const std::string' as `this' argument
> of `std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT,
> _Traits, _Alloc>::operator=(const _CharT*) [with _CharT = char, _Traits =
> std::char_traits<char>, _Alloc = std::allocator<char>]' discards
> qualifiers

Heh, don't you just *love* C++ error messages? :)
Translated:

  AIFlightPlan.cxx:69: error: passing `const string' as `this' argument
  of `string::operator=()' discards qualifiers

You can't assign to a const object, basically.  No idea why this compiles
correctly on other platforms...

Andy


_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to