mirror of
				https://github.com/red0124/ssp.git
				synced 2025-10-31 13:16:45 +01:00 
			
		
		
		
	fix parser destructor
This commit is contained in:
		
							parent
							
								
									f6b0201bf5
								
							
						
					
					
						commit
						4932138fba
					
				| @ -3,9 +3,9 @@ | ||||
| #include "converter.hpp" | ||||
| #include "extract.hpp" | ||||
| #include "restrictions.hpp" | ||||
| #include <cstdlib> | ||||
| #include <cstring> | ||||
| #include <optional> | ||||
| #include <cstdlib> | ||||
| #include <string> | ||||
| #include <vector> | ||||
| 
 | ||||
| @ -29,8 +29,10 @@ public: | ||||
|     } | ||||
| 
 | ||||
|     ~parser() { | ||||
|         if (file_) { | ||||
|             fclose(file_); | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     bool valid() const { | ||||
|         return (error_mode_ == error_mode::error_string) ? string_error_.empty() | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user