forked from mirrors/0ad
Introduce a namespace in Loader
All functions had a `LDR_` prefix. The prefix is removed. Functions and globals which are only used in Loader.cpp are now contained in an anonymous namespace.
This commit is contained in:
@@ -189,7 +189,7 @@ public:
|
||||
for (size_t j = 0; j < clients.size(); ++j)
|
||||
{
|
||||
clients[j]->Poll();
|
||||
TS_ASSERT_OK(LDR_NonprogressiveLoad());
|
||||
TS_ASSERT_OK(PS::Loader::NonprogressiveLoad());
|
||||
clients[j]->LoadFinished();
|
||||
}
|
||||
|
||||
@@ -272,7 +272,7 @@ public:
|
||||
for (size_t j = 0; j < clients.size(); ++j)
|
||||
{
|
||||
clients[j]->Poll();
|
||||
TS_ASSERT_OK(LDR_NonprogressiveLoad());
|
||||
TS_ASSERT_OK(PS::Loader::NonprogressiveLoad());
|
||||
clients[j]->LoadFinished();
|
||||
}
|
||||
|
||||
@@ -367,7 +367,7 @@ public:
|
||||
|
||||
|
||||
clients[2]->Poll();
|
||||
TS_ASSERT_OK(LDR_NonprogressiveLoad());
|
||||
TS_ASSERT_OK(PS::Loader::NonprogressiveLoad());
|
||||
clients[2]->LoadFinished();
|
||||
|
||||
wait(clients, 100);
|
||||
|
||||
Reference in New Issue
Block a user