Beispiel #1
0
void Reports::retainExhibits(const std::vector<Report::Event> &events) {
    auto exhibitsRepo = Exhibits{session};
    for (const auto &event : events) {
        if (event.exhibitID) {
            exhibitsRepo.incReferenceCount(event.exhibitID.value());
        }
    }
}
Beispiel #2
0
 RefCountedArray (Array<var>&& a)  : array (static_cast<Array<var>&&> (a)) { incReferenceCount(); }
Beispiel #3
0
 RefCountedArray (const Array<var>& a)  : array (a)  { incReferenceCount(); }