Commit 574a3acc authored by Nils Kaminski's avatar Nils Kaminski
Browse files

Update c++ helper

parent c1a4ce0d
Pipeline #80058 failed
#ifndef Dynamic_Connect_Helper_h //
#define Not_h // DynamicHelper.h
// TestForMa2
//
// Created by Nils Kaminski on 20.10.18.
// Copyright © 2018 Nils Kaminski. All rights reserved.
//
#ifndef DynamicHelper_h
#define DynamicHelper_h
#include <queue> #include <queue>
#include <vector> #include <vector>
#ifndef CONNECTION_H #ifndef CONNECTION_H
#define CONNECTION_H #define CONNECTION_H
template<typename T> template<typename T, typename T2>
struct connection { struct connection {
T *from; void *afterComponent;
T2 *from;
T *to; T *to;
}; };
#endif #endif
...@@ -37,5 +46,4 @@ int dynamicconnect(int numPorts, bool* connected, std::queue<int>* request){ ...@@ -37,5 +46,4 @@ int dynamicconnect(int numPorts, bool* connected, std::queue<int>* request){
return port; return port;
} }
#endif /* DynamicHelper_h */
#endif /* Dynamic_Connect_Helper_h */
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment