Commit 91eae670 authored by Emmanuel Milou's avatar Emmanuel Milou
parents ade4c80d 5f3bae35
......@@ -49,6 +49,9 @@ AudioLayer::AudioLayer()
urgentRingBuffer_.createReadPointer(MainBuffer::DEFAULT_ID);
}
AudioLayer::~AudioLayer()
{}
void AudioLayer::flushMain()
{
std::lock_guard<std::mutex> lock(mutex_);
......
......@@ -80,7 +80,7 @@ class AudioLayer {
};
AudioLayer();
virtual ~AudioLayer() = default;
virtual ~AudioLayer();
virtual std::vector<std::string> getCaptureDeviceList() const = 0;
virtual std::vector<std::string> getPlaybackDeviceList() const = 0;
......
......@@ -149,10 +149,6 @@ class ConfigTree {
friend class ConfigTreeIterator;
NON_COPYABLE(ConfigTree);
public:
ConfigTreeIterator createIterator() {
return ConfigTreeIterator(this);
}
};
class ConfigTreeItem {
......
......@@ -40,7 +40,7 @@
*/
#define NON_COPYABLE(ClassName) \
ClassName(const ClassName&); \
ClassName& operator=(const ClassName&)
ClassName(const ClassName&) = delete; \
ClassName& operator=(const ClassName&) = delete
#endif // NON_COPYABLE_H_
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment