aboutsummaryrefslogtreecommitdiff
path: root/Node.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-12 16:56:19 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-12 16:56:19 +0200
commite689d7947050face22fa1533d9a1cba6d43ea6b8 (patch)
tree7209bf2a04a4254913de6b0ef26742c85479c2eb /Node.cpp
parentc0c6828e0652b177d36d15ded9801e419c07a64c (diff)
add prut
Diffstat (limited to 'Node.cpp')
-rw-r--r--Node.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Node.cpp b/Node.cpp
index 75f94e5..3fe911f 100644
--- a/Node.cpp
+++ b/Node.cpp
@@ -4,6 +4,8 @@
#include "NodeFactory.h"
#include "Net.h"
+#include "prut.h"
+
Node::Node(const char * type) {
NodeFactory::assign(type, this);
}
@@ -18,7 +20,7 @@ void Node::setOutput(Net * net){
}
void Node::update(){
- std::cout << "updated" << std::endl;
+ prutprint("updated");
this->sim();
}