From: Michael Gottesman Date: Mon, 5 Jan 2015 08:55:19 +0000 (+0000) Subject: Convert SmallMapVector from a class to a struct. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=16c2e7733788f511d2a742600fbd93934eedf360;p=oota-llvm.git Convert SmallMapVector from a class to a struct. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225158 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ADT/MapVector.h b/include/llvm/ADT/MapVector.h index 0727383310a..1331b15b2d2 100644 --- a/include/llvm/ADT/MapVector.h +++ b/include/llvm/ADT/MapVector.h @@ -185,11 +185,9 @@ void MapVector::remove_if(Function Pred) { /// \brief A MapVector that performs no allocations if smaller than a certain /// size. template -class SmallMapVector - : public MapVector, - SmallVector, N>> { -public: - SmallMapVector() {} +struct SmallMapVector + : MapVector, + SmallVector, N>> { }; } // end namespace llvm