build on irix

This commit is contained in:
David Rose 2004-06-09 21:19:24 +00:00
parent 3ff5b79b00
commit 022f83833f

View File

@ -357,7 +357,7 @@ pack_required_field(Datagram &dg, PyObject *distobj, DCField *field) const {
return;
}
if (set_name.substr(0, 3) != "set") {
if (set_name.substr(0, 3) != string("set")) {
// This is required to suit our set/get mangling convention.
ostringstream strm;
strm << "Required field " << set_name << " does not begin with 'set'";