From a3fbed67a230e169edbbba41a5caf7035ece40c8 Mon Sep 17 00:00:00 2001 From: Martin Haefner Date: Tue, 17 Jul 2018 13:36:02 +0200 Subject: [PATCH] Fix wstring serialization --- src/wstring.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wstring.cpp b/src/wstring.cpp index 2157aa0..f73920b 100644 --- a/src/wstring.cpp +++ b/src/wstring.cpp @@ -24,7 +24,7 @@ void WStringCodec::encode(DBusMessageIter& iter, const std::wstring& str) Codec::encode(_iter, (uint32_t)t); } - dbus_message_iter_close_container(&_iter, &_iter); + dbus_message_iter_close_container(&iter, &_iter); }