(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
This commit is contained in:
@@ -297,7 +297,7 @@ struct RefitOption {
|
||||
* @param other Compare to this #RefitOption.
|
||||
* @return True if both #RefitOption are different.
|
||||
*/
|
||||
FORCEINLINE bool operator != (const RefitOption &other) const
|
||||
inline bool operator != (const RefitOption &other) const
|
||||
{
|
||||
return other.cargo != this->cargo || other.value != this->value;
|
||||
}
|
||||
@@ -307,7 +307,7 @@ struct RefitOption {
|
||||
* @param other Compare to this #RefitOption.
|
||||
* @return True if both #RefitOption are equal.
|
||||
*/
|
||||
FORCEINLINE bool operator == (const RefitOption &other) const
|
||||
inline bool operator == (const RefitOption &other) const
|
||||
{
|
||||
return other.cargo == this->cargo && other.value == this->value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user