summaryrefslogtreecommitdiffhomepage
path: root/flowgraph/storage.cpp
diff options
context:
space:
mode:
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()))
+{}
+