summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/persistance.cpp7
-rw-r--r--lib/persistance.h3
2 files changed, 0 insertions, 10 deletions
diff --git a/lib/persistance.cpp b/lib/persistance.cpp
index bdcbe9f..c21a6b1 100644
--- a/lib/persistance.cpp
+++ b/lib/persistance.cpp
@@ -69,11 +69,4 @@ namespace Persistanace {
Selection::EndObject(Stack &)
{
}
-
- static_assert(!SelectionT<float>::ArrayLike);
- static_assert(!SelectionT<bool>::ArrayLike);
- static_assert(!SelectionT<std::string>::ArrayLike);
- static_assert(SelectionT<std::vector<float>>::ArrayLike);
- static_assert(SelectionT<glm::vec3>::ArrayLike);
- static_assert(SelectionT<std::vector<glm::vec3>>::ArrayLike);
}
diff --git a/lib/persistance.h b/lib/persistance.h
index 0082d4c..8e38250 100644
--- a/lib/persistance.h
+++ b/lib/persistance.h
@@ -52,7 +52,6 @@ namespace Persistanace {
std::swap(v, evalue);
}
- static constexpr bool ArrayLike {false};
T & v;
};
@@ -86,7 +85,6 @@ namespace Persistanace {
stk.push(std::make_unique<SelectionT<T>>(std::ref(v[idx++])));
}
- static constexpr bool ArrayLike {true};
glm::vec<L, T, Q> & v;
glm::length_t idx {0};
};
@@ -106,7 +104,6 @@ namespace Persistanace {
stk.push(std::make_unique<SelectionT<T>>(std::ref(v.emplace_back())));
}
- static constexpr bool ArrayLike {true};
std::vector<T> & v;
};