Changeset 6764 for code/trunk
- Timestamp:
- Apr 20, 2010, 11:11:01 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/sound/SoundBuffer.h
r6417 r6764 45 45 { 46 46 friend class SoundManager; 47 #if !defined(_MSC_VER) || _MSC_VER >= 1500 47 48 // Make sure nobody deletes an instance (using smart pointers) 48 49 template <class T> 49 50 friend void boost::checked_delete(T*); 51 #endif 50 52 51 53 public: 54 #if defined(_MSC_VER) && _MSC_VER < 1500 55 ~SoundBuffer(); 56 #endif 52 57 inline ALuint getBuffer() 53 58 { return this->audioBuffer_; } … … 60 65 private: 61 66 SoundBuffer(const std::string& filename, std::list<shared_ptr<SoundBuffer> >::iterator poolIterator); 67 #if !defined(_MSC_VER) || _MSC_VER >= 1500 62 68 ~SoundBuffer(); 69 #endif 63 70 void loadStandard(const shared_ptr<ResourceInfo>& fileInfo, DataStreamPtr dataStream); 64 71 void loadOgg(const shared_ptr<ResourceInfo>& fileInfo, DataStreamPtr dataStream);
Note: See TracChangeset
for help on using the changeset viewer.