summaryrefslogtreecommitdiff
path: root/modules/codec
diff options
context:
space:
mode:
Diffstat (limited to 'modules/codec')
-rw-r--r--modules/codec/c++/rpc.hpp4
-rw-r--r--modules/codec/c++/schema.hpp8
2 files changed, 6 insertions, 6 deletions
diff --git a/modules/codec/c++/rpc.hpp b/modules/codec/c++/rpc.hpp
index 6b606e2..5f29f6e 100644
--- a/modules/codec/c++/rpc.hpp
+++ b/modules/codec/c++/rpc.hpp
@@ -3,7 +3,7 @@
namespace saw {
/**
- *
+ * Representing data on the remote
*/
template<typename T, typename Remote>
class remote_data {
@@ -75,7 +75,7 @@ class remote_address {
* Reference Backend structure
*/
template<typename T>
-class remote_api {
+class remote {
static_assert(always_false<T>, "Type of backend not supported");
/**
diff --git a/modules/codec/c++/schema.hpp b/modules/codec/c++/schema.hpp
index 3d20c10..5a2f440 100644
--- a/modules/codec/c++/schema.hpp
+++ b/modules/codec/c++/schema.hpp
@@ -5,6 +5,10 @@
#include <forstio/string_literal.hpp>
namespace saw {
+template <class T> struct is_primitive {
+ constexpr static bool value = false;
+};
+
namespace schema {
// NOLINTBEGIN
template <typename T, string_literal Literal> struct Member {
@@ -262,10 +266,6 @@ template <class T, size_t Dim> struct is_array<schema::Array<T,Dim>> {
constexpr static bool value = true;
};
-template <class T> struct is_primitive {
- constexpr static bool value = false;
-};
-
template <typename T, size_t N> struct is_primitive<schema::Primitive<T,N>> {
constexpr static bool value = true;
};