]> git.tdb.fi Git - poefilter.git/blobdiff - source/poefilter.cpp
Use implicit instead of explicit category ordering
[poefilter.git] / source / poefilter.cpp
index b6fc1475a1f96fc093234d1c0e1a4f71d5524547..b90afc59d1b3f97c3567e0ce139eed2a90ff33d1 100644 (file)
@@ -57,7 +57,7 @@ PoeFilter::Loader::Loader(PoeFilter &f):
 
 void PoeFilter::Loader::category(const string &name)
 {
-       Category cat(name);
+       Category cat(name, obj.categories.size());
        load_sub(cat, obj);
        obj.categories[name] = cat;
 }