From 7a5cff49ec81ba3f22400e467df200e945977729 Mon Sep 17 00:00:00 2001 From: Owen Green Date: Sun, 16 Sep 2018 17:02:35 +0100 Subject: [PATCH] NRTCommandBase: Correct typo in SC stub generator (but should completely refactor to expect bufnums in, rather than buffer instances) --- include/fdNRTBase.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fdNRTBase.hpp b/include/fdNRTBase.hpp index 8cdb245..258adb1 100644 --- a/include/fdNRTBase.hpp +++ b/include/fdNRTBase.hpp @@ -227,7 +227,7 @@ namespace sc{ if(d.getType() == parameter::Type::Buffer) { if (count == 0) - cmd << d.getName() << ".buNum"; + cmd << d.getName() << ".bufnum"; else cmd << "\nif( " << d.getName() << ".isNil, -1, {" << d.getName() << ".bufnum})"; }