ext/rays/font.cpp in rays-0.2 vs ext/rays/font.cpp in rays-0.2.1
- old
+ new
@@ -118,10 +118,10 @@
for (const auto& family : Rays::get_font_families())
{
std::vector<Value> members;
for (const auto& member : family.second)
members.emplace_back(member.c_str());
- hash.set(family.first.c_str(), value(members.size(), &members[0]));
+ hash.set(family.first.c_str(), array(&members[0], members.size()));
}
return hash;
}
RUCY_END