Skip to content

Commit 038d860

Browse files
committed
Revert "Fix xrGame compilation"
This reverts commit 623611f.
1 parent 11c7ae1 commit 038d860

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
9796
struct story_name_predicate
9897
{
9998
IC bool operator()(const xr_rtoken& _1, const xr_rtoken& _2) const
10099
{
101100
VERIFY(_1.name.size());
102101
VERIFY(_2.name.size());
103102

104-
return _1.name.compare(_2.name) < 0;
103+
return (xr_strcmp(_1.name, _2.name) < 0);
105104
}
106105
};
107106

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)