Do bulk replace of stl types.
This commit is contained in:
parent
521486be62
commit
c25a56ee19
531 changed files with 2274 additions and 2181 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include "CircuitElement.h"
|
||||
|
||||
#include <string>
|
||||
#include "String.h"
|
||||
|
||||
class Wire;
|
||||
|
||||
|
@ -15,7 +15,7 @@ public:
|
|||
OUTPUT
|
||||
};
|
||||
|
||||
Terminal(TerminalType type, const std::string& label = {});
|
||||
Terminal(TerminalType type, const String& label = {});
|
||||
|
||||
Wire* getConnection() const;
|
||||
|
||||
|
@ -27,8 +27,8 @@ public:
|
|||
void setConnection(Wire* connection);
|
||||
|
||||
private:
|
||||
std::string mLabel;
|
||||
String mLabel;
|
||||
TerminalType mType;
|
||||
Wire* mConnection{ nullptr };
|
||||
};
|
||||
using TerminalPtr = std::unique_ptr<Terminal>;
|
||||
using TerminalPtr = Ptr<Terminal>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue