gcc/ChangeLog: * sbitmap.h (auto_sbitmap): Add operator const sbitmap &. --- gcc/sbitmap.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/gcc/sbitmap.h b/gcc/sbitmap.h index a33175d..3c5b0a4 100644 --- a/gcc/sbitmap.h +++ b/gcc/sbitmap.h @@ -295,6 +295,7 @@ public: /* Allow calling sbitmap functions on our bitmap. */ operator sbitmap () { return m_bitmap; } + operator const sbitmap &() const { return m_bitmap; } private: /* Prevent making a copy that refers to our sbitmap. */ -- 1.8.5.3