* GCC 2.95 compatibility.
This commit is contained in:
		
							parent
							
								
									1d2460ee5d
								
							
						
					
					
						commit
						1440419b45
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -301,7 +301,7 @@ static string addPrefix(const string & prefix, const string & s) | ||||||
| static string stripPrefix(const string & prefix, const string & s) | static string stripPrefix(const string & prefix, const string & s) | ||||||
| { | { | ||||||
|     if (s.size() <= prefix.size() || |     if (s.size() <= prefix.size() || | ||||||
|         s.compare(0, prefix.size(), prefix) != 0 || |         string(s, 0, prefix.size()) != prefix || | ||||||
|         s[prefix.size()] != 0) |         s[prefix.size()] != 0) | ||||||
|         throw Error(format("string `%1%' is missing prefix `%2%'") |         throw Error(format("string `%1%' is missing prefix `%2%'") | ||||||
|             % s % prefix); |             % s % prefix); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue