Merge branch 'master' into windows
[ardour.git] / libs / audiographer / private / sndfile.hh
index d8f459f1960510593cc0aa5392c8472d7279ef78..1c4ef5ab58b03dbfc4a64a55fdb8bb5a487a8270 100644 (file)
@@ -150,7 +150,7 @@ SndfileHandle::SNDFILE_ref::SNDFILE_ref (void)
 
 inline
 SndfileHandle::SNDFILE_ref::~SNDFILE_ref (void)
-{      if (sf != NULL) sf_close (sf) ; }
+{      if (sf != NULL) { sf_close (sf) ; } }
 
 inline
 SndfileHandle::SndfileHandle (const char *path, int mode, int fmt, int chans, int srate)
@@ -196,6 +196,7 @@ SndfileHandle::SndfileHandle (std::string const & path, int mode, int fmt, int c
        return ;
 } /* SndfileHandle std::string constructor */
 
+inline
 SndfileHandle::SndfileHandle (int fd, bool close_desc, int mode, int fmt, int chans, int srate)
 : p (NULL)
 {