gave up trying to be clever. split the handles into 2 classes.
This commit is contained in:
@@ -736,8 +736,8 @@ int main( int /*argc*/, const char ** /*argv*/ )
|
||||
XMLElement* ele = XMLHandle( doc ).FirstChildElement( "element" ).FirstChild().ToElement();
|
||||
XMLTest( "Handle, success, mutable", ele->Value(), "sub" );
|
||||
|
||||
const XMLElement* eleC = XMLHandle( docC ).FirstChildElement( "element" ).FirstChild().ToElement();
|
||||
XMLTest( "Handle, success, mutable", ele->Value(), "sub" );
|
||||
const XMLElement* eleC = XMLConstHandle( docC ).FirstChildElement( "element" ).FirstChild().ToElement();
|
||||
XMLTest( "Handle, success, mutable", eleC->Value(), "sub" );
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user