Skip to content

Commit

Permalink
Fix xrGame compilation
Browse files Browse the repository at this point in the history
Was broken with 2039fc6
  • Loading branch information
Xottab-DUTY committed Nov 13, 2017
1 parent 39b283b commit 623611f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/xrServerEntities/xrServer_Objects_ALife.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,20 +91,20 @@ bool SortStringsByAlphabetPred(const shared_str& s1, const shared_str& s2)
R_ASSERT(s2.size());

return (xr_strcmp(s1, s2) < 0);
};
}

#ifdef XRSE_FACTORY_EXPORTS
struct story_name_predicate
{
IC bool operator()(const xr_rtoken& _1, const xr_rtoken& _2) const
{
VERIFY(_1.name.size());
VERIFY(_2.name.size());

return (xr_strcmp(_1.name, _2.name) < 0);
return _1.name.compare(_2.name) < 0;
}
};

#ifdef XRSE_FACTORY_EXPORTS
SFillPropData::SFillPropData() { counter = 0; };
SFillPropData::~SFillPropData() { VERIFY(0 == counter); };
void SFillPropData::load()
Expand Down

0 comments on commit 623611f

Please sign in to comment.