mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 19:52:29 +00:00 
			
		
		
		
	add virtual destructor to z3::object class
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									04c55c34e5
								
							
						
					
					
						commit
						231a985bf9
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -470,6 +470,7 @@ namespace z3 { | ||||||
|         context * m_ctx; |         context * m_ctx; | ||||||
|     public: |     public: | ||||||
|         object(context & c):m_ctx(&c) {} |         object(context & c):m_ctx(&c) {} | ||||||
|  |         virtual ~object() = default; | ||||||
|         context & ctx() const { return *m_ctx; } |         context & ctx() const { return *m_ctx; } | ||||||
|         Z3_error_code check_error() const { return m_ctx->check_error(); } |         Z3_error_code check_error() const { return m_ctx->check_error(); } | ||||||
|         friend void check_context(object const & a, object const & b); |         friend void check_context(object const & a, object const & b); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue