diff options
author | David Robillard <d@drobilla.net> | 2011-04-23 21:27:52 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-23 21:27:52 +0000 |
commit | 9ad2e0bdec306d80357a642271fbde1f8f02ec45 (patch) | |
tree | 699965c7dede97a0943ec3f252b6a4d68743353e /sord | |
parent | 978e99c6034845c01adb440811e0951f8215f6bb (diff) | |
download | sord-9ad2e0bdec306d80357a642271fbde1f8f02ec45.tar.gz sord-9ad2e0bdec306d80357a642271fbde1f8f02ec45.tar.bz2 sord-9ad2e0bdec306d80357a642271fbde1f8f02ec45.zip |
Improve node struct alignment
git-svn-id: http://svn.drobilla.net/sord/trunk@84 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'sord')
-rw-r--r-- | sord/sordmm.hpp | 2 |
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; } |