Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/use-real-dimension-name-for-filt…
Browse files Browse the repository at this point in the history
…ering' into issues/version-info
  • Loading branch information
hobu committed Jan 21, 2015
2 parents 641a0dc + cfad732 commit 4d76f38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plang/BufferedInvocation.cpp
Expand Up @@ -58,7 +58,7 @@ void BufferedInvocation::begin(PointBuffer& buffer)
{
PointContext ctx = buffer.m_context;
Dimension::IdList const& dims = ctx.dims();

for (auto di = dims.begin(); di != dims.end(); ++di)
{
Dimension::Id::Enum d = *di;
Expand All @@ -71,7 +71,7 @@ void BufferedInvocation::begin(PointBuffer& buffer)
buffer.getFieldInternal(d, idx, (void *)p);
p += dd->size();
}
std::string name = Dimension::name(d);
std::string name = ctx.dimName(*di);
insertArgument(name, (uint8_t *)data, dd->type(), buffer.size());
}
}
Expand Down

0 comments on commit 4d76f38

Please sign in to comment.