Skip to content

Commit

Permalink
[VecOps] Implement max_size method of RAdoptAllocator
Browse files Browse the repository at this point in the history
despite being optional, this is required by gcc 4.8 and gcc 4.9
  • Loading branch information
dpiparo committed Oct 9, 2018
1 parent e107f75 commit 882880b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions math/vecops/inc/ROOT/RAdoptAllocator.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ public:
}

bool operator!=(const RAdoptAllocator<T> &other) { return !(*this == other); }

size_type max_size() const { return fStdAllocator.max_size(); };
};

// The different semantics of std::vector<bool> make memory adoption through a
Expand Down

0 comments on commit 882880b

Please sign in to comment.