summaryrefslogtreecommitdiffstats
path: root/core/variant/variant_construct.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-11-11 00:25:41 +0100
committerGitHub <noreply@github.com>2020-11-11 00:25:41 +0100
commit88d463cabcfe2bf2b0f14e4ad34cb2741b8da686 (patch)
treee07e6e9a4d22cce046f03b36d06af28a73fea362 /core/variant/variant_construct.cpp
parenta80ec80b57f419d84d196fb46dcb5f194c880001 (diff)
parent5288ff538d75d2ddab257a9e1e40050c9b8fa1cb (diff)
downloadredot-engine-88d463cabcfe2bf2b0f14e4ad34cb2741b8da686.tar.gz
Merge pull request #43446 from reduz/create-variant-builtin-funcs
Create Variant built-in functions.
Diffstat (limited to 'core/variant/variant_construct.cpp')
-rw-r--r--core/variant/variant_construct.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/core/variant/variant_construct.cpp b/core/variant/variant_construct.cpp
index b777323e82..01f5b7df59 100644
--- a/core/variant/variant_construct.cpp
+++ b/core/variant/variant_construct.cpp
@@ -39,26 +39,6 @@
#include "core/templates/local_vector.h"
#include "core/templates/oa_hash_map.h"
-_FORCE_INLINE_ void sarray_add_str(Vector<String> &arr) {
-}
-
-_FORCE_INLINE_ void sarray_add_str(Vector<String> &arr, const String &p_str) {
- arr.push_back(p_str);
-}
-
-template <class... P>
-_FORCE_INLINE_ void sarray_add_str(Vector<String> &arr, const String &p_str, P... p_args) {
- arr.push_back(p_str);
- sarray_add_str(arr, p_args...);
-}
-
-template <class... P>
-_FORCE_INLINE_ Vector<String> sarray(P... p_args) {
- Vector<String> arr;
- sarray_add_str(arr, p_args...);
- return arr;
-}
-
template <class T, class... P>
class VariantConstructor {
template <size_t... Is>