aboutsummaryrefslogtreecommitdiff
path: root/core/src/Model/Workflow/ValueInternals.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-06-27 18:27:13 -0700
committerrtk0c <[email protected]>2022-06-27 18:27:13 -0700
commit8f0dda5eab181b0f14f2652b4e984aaaae3f258c (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /core/src/Model/Workflow/ValueInternals.hpp
parentfad6a88a13ab1f888ab25ad0aae19c1d63aa0623 (diff)
Start from a clean slate
Diffstat (limited to 'core/src/Model/Workflow/ValueInternals.hpp')
-rw-r--r--core/src/Model/Workflow/ValueInternals.hpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/core/src/Model/Workflow/ValueInternals.hpp b/core/src/Model/Workflow/ValueInternals.hpp
deleted file mode 100644
index 49981f0..0000000
--- a/core/src/Model/Workflow/ValueInternals.hpp
+++ /dev/null
@@ -1,21 +0,0 @@
-// This file contains utility classes and macros for implementing values
-// As consumers, you should not include this header as it contains unnecessary symbols and can pollute your files
-// for this reason, classes here aren't forward-declared in fwd.hpp either.
-
-#pragma once
-
-#include "Utils/RTTI.hpp"
-
-#include <utility>
-
-#define CHECK_VALUE_TYPE(Type, value) \
- if (!is_a<Type>(value)) { \
- return false; \
- }
-
-#define CHECK_VALUE_TYPE_AND_MOVE(Type, dest, value) \
- if (auto ptr = dyn_cast<Type>(value)) { \
- dest = std::move(*ptr); \
- } else { \
- return false; \
- }