mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Remove superfluous const from returned types
This commit is contained in:
		
							parent
							
								
									b301a59899
								
							
						
					
					
						commit
						844f400a62
					
				
					 2 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -156,9 +156,9 @@ namespace smt {
 | 
			
		|||
            row_entry & operator[](unsigned idx) { return m_entries[idx]; }
 | 
			
		||||
            row_entry const & operator[](unsigned idx) const { return m_entries[idx]; }
 | 
			
		||||
            typename vector<row_entry>::iterator begin_entries() { return m_entries.begin(); }
 | 
			
		||||
            const typename vector<row_entry>::const_iterator begin_entries() const { return m_entries.begin(); }
 | 
			
		||||
            typename vector<row_entry>::const_iterator begin_entries() const { return m_entries.begin(); }
 | 
			
		||||
            typename vector<row_entry>::iterator end_entries() { return m_entries.end(); }
 | 
			
		||||
            const typename vector<row_entry>::const_iterator end_entries() const { return m_entries.end(); }
 | 
			
		||||
            typename vector<row_entry>::const_iterator end_entries() const { return m_entries.end(); }
 | 
			
		||||
            row_entry & add_row_entry(int & pos_idx);
 | 
			
		||||
            void del_row_entry(unsigned idx);
 | 
			
		||||
            void compress(vector<column> & cols); 
 | 
			
		||||
| 
						 | 
				
			
			@ -195,9 +195,9 @@ namespace smt {
 | 
			
		|||
            col_entry & operator[](unsigned idx) { return m_entries[idx]; }
 | 
			
		||||
            col_entry const & operator[](unsigned idx) const { return m_entries[idx]; }
 | 
			
		||||
            typename svector<col_entry>::iterator begin_entries() { return m_entries.begin(); }
 | 
			
		||||
            const typename svector<col_entry>::const_iterator begin_entries() const { return m_entries.begin(); }
 | 
			
		||||
            typename svector<col_entry>::const_iterator begin_entries() const { return m_entries.begin(); }
 | 
			
		||||
            typename svector<col_entry>::iterator end_entries() { return m_entries.end(); }
 | 
			
		||||
            const typename svector<col_entry>::const_iterator end_entries() const { return m_entries.end(); }
 | 
			
		||||
            typename svector<col_entry>::const_iterator end_entries() const { return m_entries.end(); }
 | 
			
		||||
            col_entry & add_col_entry(int & pos_idx);
 | 
			
		||||
            void del_col_entry(unsigned idx);
 | 
			
		||||
        };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -93,7 +93,7 @@ public:
 | 
			
		|||
        unsigned        m_row;
 | 
			
		||||
    public:
 | 
			
		||||
        ref_row(const static_matrix & m, unsigned row): m_matrix(m), m_row(row) {}
 | 
			
		||||
        const T operator[](unsigned col) const { return m_matrix.get_elem(m_row, col); }
 | 
			
		||||
        T operator[](unsigned col) const { return m_matrix.get_elem(m_row, col); }
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
public:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue