summaryrefslogtreecommitdiff
path: root/inc/wb.h
diff options
context:
space:
mode:
authorSiddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com>2025-03-30 14:02:23 -0400
committerGitHub <noreply@github.com>2025-03-30 14:02:23 -0400
commiteedf9686eb60f2008e7766cc9a5d3e037b9dae64 (patch)
tree0cfa9009fe483b72940727f3b5a4236f779fe6e7 /inc/wb.h
parentd20623d031cf909d8892c2db38cf2e2e02bc6a9b (diff)
parent8e56373a5436852fe9c7934e03d7b57493625003 (diff)
Merge pull request #40 from bdunahu/bdunahu
Minor simplification to API between pipeline components -- Fixed memory leaks
Diffstat (limited to 'inc/wb.h')
-rw-r--r--inc/wb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/wb.h b/inc/wb.h
index 9a708a6..7c796ab 100644
--- a/inc/wb.h
+++ b/inc/wb.h
@@ -1,8 +1,8 @@
#ifndef WB_H
#define WB_H
+#include "instrDTO.h"
#include "response.h"
#include "stage.h"
-#include "instrDTO.h"
class WB : public Stage
{
@@ -14,7 +14,7 @@ class WB : public Stage
*/
WB(Stage *next);
- Response advance(InstrDTO &next_instr, Response p) override;
+ InstrDTO *advance(Response p) override;
};
#endif /* WB_H_INCLUDED */