aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/File.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-08-27 08:43:15 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-08-27 08:43:15 +0200
commitb654fbe4d105833cc0fac9e219efd927d6f2b7b3 (patch)
treed904b49ebdbff116e126ece895372201a83dc581 /src/input/File.cpp
parent503647557aa43e8be23133f8619c6c66bfe2f470 (diff)
downloaddabmux-b654fbe4d105833cc0fac9e219efd927d6f2b7b3.tar.gz
dabmux-b654fbe4d105833cc0fac9e219efd927d6f2b7b3.tar.bz2
dabmux-b654fbe4d105833cc0fac9e219efd927d6f2b7b3.zip
Make InputBase::close() return void
Diffstat (limited to 'src/input/File.cpp')
-rw-r--r--src/input/File.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input/File.cpp b/src/input/File.cpp
index 5c83627..99dd68d 100644
--- a/src/input/File.cpp
+++ b/src/input/File.cpp
@@ -84,13 +84,12 @@ int FileBase::setBitrate(int bitrate)
}
-int FileBase::close()
+void FileBase::close()
{
if (m_fd != -1) {
::close(m_fd);
m_fd = -1;
}
- return 0;
}
void FileBase::setNonblocking(bool nonblock)