summaryrefslogtreecommitdiff
path: root/csv.cc
diff options
context:
space:
mode:
Diffstat (limited to 'csv.cc')
-rw-r--r--csv.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/csv.cc b/csv.cc
index 7c8a92e0..e61e04a6 100644
--- a/csv.cc
+++ b/csv.cc
@@ -19,9 +19,8 @@ namespace {
void format_csv_xacts::operator()(xact_t& xact)
{
- if (! xact_has_xdata(xact) ||
- ! (xact_xdata_(xact).dflags & XACT_DISPLAYED)) {
-
+ if (! xact.has_xdata() ||
+ ! xact.xdata().has_flags(XACT_EXT_DISPLAYED)) {
{
format_t fmt("%D");
std::ostringstream str;
@@ -111,7 +110,7 @@ void format_csv_xacts::operator()(xact_t& xact)
}
out << '\n';
- xact_xdata(xact).dflags |= XACT_DISPLAYED;
+ xact.xdata().add_flags(XACT_EXT_DISPLAYED);
}
}