Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dliw:games
stuntrally
stuntrally-cpp.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File stuntrally-cpp.patch of Package stuntrally
Index: stuntrally/source/vdrift/track.cpp =================================================================== --- stuntrally.orig/source/vdrift/track.cpp +++ stuntrally/source/vdrift/track.cpp @@ -183,7 +183,7 @@ bool TRACK::CastRay( return col; } -optional <const BEZIER *> ROADSTRIP::FindBezierAtOffset(const BEZIER * bezier, int offset) const +::optional <const BEZIER *> ROADSTRIP::FindBezierAtOffset(const BEZIER * bezier, int offset) const { list <ROADPATCH>::const_iterator it = patches.end(); //this iterator will hold the found ROADPATCH @@ -198,7 +198,7 @@ optional <const BEZIER *> ROADSTRIP::Fin } if (it == patches.end()) - return optional <const BEZIER *>(); //return nothing + return ::optional <const BEZIER *>(); //return nothing else { //now do the offset @@ -231,6 +231,6 @@ optional <const BEZIER *> ROADSTRIP::Fin } assert(it != patches.end()); - return optional <const BEZIER *>(&it->GetPatch()); + return ::optional <const BEZIER *>(&it->GetPatch()); } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor