Fix compilation error on some versions of GCC
src/libexpr/primops.cc:42:8: error: looser throw specifier for 'virtual nix::InvalidPathError::~InvalidPathError()' src/libexpr/nixexpr.hh:12:1: error: overriding 'virtual nix::EvalError::~EvalError() noexcept (true)' http://hydra.nixos.org/build/12385750
This commit is contained in:
		
							parent
							
								
									beac05c206
								
							
						
					
					
						commit
						0e5d0c1543
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		|  | @ -44,6 +44,7 @@ struct InvalidPathError : EvalError | |||
|     Path path; | ||||
|     InvalidPathError(const Path & path) : | ||||
|         EvalError(format("path `%1%' is not valid") % path), path(path) {}; | ||||
|     ~InvalidPathError() throw () { }; | ||||
| }; | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue