summaryrefslogtreecommitdiffstats
path: root/src/common/resources/sndfile.h
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2014-10-07 23:25:37 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2014-10-07 23:25:37 +0200
commit342210b0628d417a32f375efbfbd91f5537ab148 (patch)
tree502a67a43620bb10babc15c15965669431af7f57 /src/common/resources/sndfile.h
parent12feb49098b3fdcaa489ceb557a4461b5cdebcf9 (diff)
downloadcolobot-342210b0628d417a32f375efbfbd91f5537ab148.tar.gz
colobot-342210b0628d417a32f375efbfbd91f5537ab148.tar.bz2
colobot-342210b0628d417a32f375efbfbd91f5537ab148.zip
GCC 4.6 compilation fixes
Diffstat (limited to 'src/common/resources/sndfile.h')
-rw-r--r--src/common/resources/sndfile.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/common/resources/sndfile.h b/src/common/resources/sndfile.h
index 5fc00f4..7d6d589 100644
--- a/src/common/resources/sndfile.h
+++ b/src/common/resources/sndfile.h
@@ -42,12 +42,5 @@ private:
SNDFILE *m_snd_file;
PHYSFS_File *m_file;
std::string m_last_error;
-
- SF_VIRTUAL_IO snd_callbacks = {
- SNDLength,
- SNDSeek,
- SNDRead,
- SNDWrite,
- SNDTell
- };
+ SF_VIRTUAL_IO m_snd_callbacks;
};