Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6764 for code/trunk/src


Ignore:
Timestamp:
Apr 20, 2010, 11:11:01 AM (15 years ago)
Author:
rgrieder
Message:

Hackaround for Visual Studio 2005 (compiler bug).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/sound/SoundBuffer.h

    r6417 r6764  
    4545    {
    4646        friend class SoundManager;
     47#if !defined(_MSC_VER) || _MSC_VER >= 1500
    4748        // Make sure nobody deletes an instance (using smart pointers)
    4849        template <class T>
    4950        friend void boost::checked_delete(T*);
     51#endif
    5052
    5153    public:
     54#if defined(_MSC_VER) && _MSC_VER < 1500
     55        ~SoundBuffer();
     56#endif
    5257        inline ALuint getBuffer()
    5358            { return this->audioBuffer_; }
     
    6065    private:
    6166        SoundBuffer(const std::string& filename, std::list<shared_ptr<SoundBuffer> >::iterator poolIterator);
     67#if !defined(_MSC_VER) || _MSC_VER >= 1500
    6268        ~SoundBuffer();
     69#endif
    6370        void loadStandard(const shared_ptr<ResourceInfo>& fileInfo, DataStreamPtr dataStream);
    6471        void loadOgg(const shared_ptr<ResourceInfo>& fileInfo, DataStreamPtr dataStream);
Note: See TracChangeset for help on using the changeset viewer.