I am assumming of course that getPriority does in fact not
modify anything.
if it is just an accessor then you should inline it
__inline double getPriority() const {return priority;}
all in the header file
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Results 16 to 17 of 17
|
Click Here to Expand Forum to Full Width |