summaryrefslogtreecommitdiffstats
path: root/sord/sordmm.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'sord/sordmm.hpp')
-rw-r--r--sord/sordmm.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sord/sordmm.hpp b/sord/sordmm.hpp
index e643207..e56cce3 100644
--- a/sord/sordmm.hpp
+++ b/sord/sordmm.hpp
@@ -58,7 +58,7 @@ public:
static inline SerdNode string_to_node(SerdType type, const std::string& s) {
SerdNode ret = {
- type, s.length() + 1, s.length(), (const uint8_t*)s.c_str() };
+ (const uint8_t*)s.c_str(), s.length() + 1, s.length(), type };
return ret;
}