1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-20 15:40:32 +00:00

Revert "Issue #178 - workaround for compilation problems with ogre 1.8.0."

This reverts commit 37e272b3b5e18d1a93a1d69804a96845f8762ba1.

It shouldn't be commited and pushed to config branch.
This commit is contained in:
Lukasz Gromanowski 2012-01-26 00:14:03 +01:00
parent 1d96b99532
commit f4b6caac59
2 changed files with 4 additions and 10 deletions

View File

@ -221,12 +221,6 @@ class BSAArchive : public Archive
{
BSAFile arc;
FileInfoListPtr findFileInfo(const String&, bool, bool) const
{
static FileInfoListPtr filp(new FileInfoList());
return filp;
}
public:
BSAArchive(const String& name)
: Archive(name, "BSA")

View File

@ -21,17 +21,17 @@ along with Caelum. If not, see <http://www.gnu.org/licenses/>.
#include "CaelumPrecompiled.h"
#include "CaelumPlugin.h"
template<> Caelum::CaelumPlugin* Ogre::Singleton<Caelum::CaelumPlugin>::msSingleton = 0;
template<> Caelum::CaelumPlugin* Ogre::Singleton<Caelum::CaelumPlugin>::ms_Singleton = 0;
namespace Caelum
{
CaelumPlugin* CaelumPlugin::getSingletonPtr () {
return msSingleton;
return ms_Singleton;
}
CaelumPlugin& CaelumPlugin::getSingleton () {
assert (msSingleton);
return *msSingleton;
assert (ms_Singleton);
return *ms_Singleton;
}
extern "C" void CAELUM_EXPORT dllStartPlugin () {