summaryrefslogtreecommitdiffstats
path: root/src/count.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/count.hpp')
-rw-r--r--src/count.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/count.hpp b/src/count.hpp
index 51a76eb..0ac6420 100644
--- a/src/count.hpp
+++ b/src/count.hpp
@@ -64,12 +64,12 @@ class CountCondition : public IndexedConditional
const auto& storage = std::get<2>(
item.second);
// Don't count properties that don't exist.
- if (storage.get().empty())
+ if (std::get<0>(storage.get()).empty())
{
return false;
}
const auto& value = any_ns::any_cast<T>(
- storage);
+ std::get<0>(storage.get()));
return propertyOp(value);
});
// *INDENT-ON*
OpenPOWER on IntegriCloud