Skip to content

Commit 623611f

Browse files
committed
Fix xrGame compilation
Was broken with 2039fc6
1 parent 39b283b commit 623611f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/xrServerEntities/xrServer_Objects_ALife.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,20 +91,20 @@ bool SortStringsByAlphabetPred(const shared_str& s1, const shared_str& s2)
9191
R_ASSERT(s2.size());
9292

9393
return (xr_strcmp(s1, s2) < 0);
94-
};
94+
}
9595

96+
#ifdef XRSE_FACTORY_EXPORTS
9697
struct story_name_predicate
9798
{
9899
IC bool operator()(const xr_rtoken& _1, const xr_rtoken& _2) const
99100
{
100101
VERIFY(_1.name.size());
101102
VERIFY(_2.name.size());
102103

103-
return (xr_strcmp(_1.name, _2.name) < 0);
104+
return _1.name.compare(_2.name) < 0;
104105
}
105106
};
106107

107-
#ifdef XRSE_FACTORY_EXPORTS
108108
SFillPropData::SFillPropData() { counter = 0; };
109109
SFillPropData::~SFillPropData() { VERIFY(0 == counter); };
110110
void SFillPropData::load()

0 commit comments

Comments
 (0)