From 728b7db2846d191399122c440671fd007cdbd0ae Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 1 Jun 2019 15:22:21 +0900 Subject: Adjusted to use new TQStringVariantMap type. Signed-off-by: Michele Calgaro --- lib/kross/ruby/rubyextension.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/kross/ruby/rubyextension.cpp') diff --git a/lib/kross/ruby/rubyextension.cpp b/lib/kross/ruby/rubyextension.cpp index 589a0b27a..9b9969f78 100644 --- a/lib/kross/ruby/rubyextension.cpp +++ b/lib/kross/ruby/rubyextension.cpp @@ -286,10 +286,10 @@ VALUE RubyExtension::toVALUE(TQStringList list) } -VALUE RubyExtension::toVALUE(TQMap map) +VALUE RubyExtension::toVALUE(TQStringVariantMap map) { VALUE h = rb_hash_new(); - for(TQMap::Iterator it = map.begin(); it != map.end(); ++it) + for(TQStringVariantMap::Iterator it = map.begin(); it != map.end(); ++it) rb_hash_aset(h, toVALUE(it.key()), toVALUE(it.data()) ); return h; -- cgit v1.2.3