From 3de3d3eee80e51faf00e8eb583001c6dbb4bfafa Mon Sep 17 00:00:00 2001 From: vsonnier Date: Sat, 27 May 2017 12:36:47 +0200 Subject: [PATCH] Tentative fix #549 prt 3 --- src/process/VisualProcessor.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/process/VisualProcessor.h b/src/process/VisualProcessor.h index 2fc303a..393c917 100644 --- a/src/process/VisualProcessor.h +++ b/src/process/VisualProcessor.h @@ -135,7 +135,8 @@ class VisualDataDistributor : public VisualProcessor::OutputDataTypePtr inp; + + typename VisualProcessor::OutputDataTypePtr inp; while (VisualProcessor::input->try_pop(inp)) { @@ -168,7 +169,8 @@ protected: ReBuffer buffers; virtual void process() { - VisualProcessor::OutputDataTypePtr inp; + + typename VisualProcessor::OutputDataTypePtr inp; while (VisualProcessor::input->try_pop(inp)) { @@ -180,7 +182,8 @@ protected: } if (inp) { - VisualProcessor::OutputDataTypePtr outp = buffers.getBuffer(); + + typename VisualProcessor::OutputDataTypePtr outp = buffers.getBuffer(); //'deep copy' of the contents (*outp) = (*inp);