summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-09-30 13:23:06 -0400
committer AJR <ajrhacker@users.noreply.github.com>2020-09-30 13:23:06 -0400
commita1f22c75330f42094ea6bda43ee6cf97858bb093 (patch)
tree68299adc8a8394153b03e52959bf628dc43451b9 /src/devices/sound
parentd026d1ba845f899b9faa3f45e5f44fba526f5948 (diff)
discrete.h: Fix build on old compilers not compliant with retroactive C++11 revisions
Diffstat (limited to 'src/devices/sound')
-rw-r--r--src/devices/sound/discrete.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/sound/discrete.h b/src/devices/sound/discrete.h
index 28097106e68..20d445959fa 100644
--- a/src/devices/sound/discrete.h
+++ b/src/devices/sound/discrete.h
@@ -4410,7 +4410,7 @@ class discrete_node_factory
public:
static std::unique_ptr<discrete_base_node> create(discrete_device &pdev, const discrete_block &block)
{
- auto r = make_unique_clear<C>();
+ std::unique_ptr<discrete_base_node> r = make_unique_clear<C>();
r->init(&pdev, &block);
return r;