summaryrefslogtreecommitdiffhomepage
path: root/flowgraph/storage.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-10-24 16:32:18 +0200
committerRoland Reichwein <mail@reichwein.it>2020-10-24 16:32:18 +0200
commit1011655d2ef76a0c0aa29dbbff091dab139198e3 (patch)
tree63763828f259846f56285691805c187583ecb6bb /flowgraph/storage.cpp
parent1349c00b782eca3ea841bfa388301cb6fc908cc7 (diff)
Add FlowGraph
Diffstat (limited to 'flowgraph/storage.cpp')
-rw-r--r--flowgraph/storage.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/flowgraph/storage.cpp b/flowgraph/storage.cpp
new file mode 100644
index 0000000..f78a65d
--- /dev/null
+++ b/flowgraph/storage.cpp
@@ -0,0 +1,8 @@
+#include "storage.h"
+
+using namespace std::string_literals;
+
+FlowGraph::TemporaryStorage::TemporaryStorage(LocalScope& scope):
+ m_name("__local_"s + std::to_string(scope.getNewIndex()))
+{}
+