Fixed MappingFileSystemAdapter::adjustPath() on Windows.
This commit is contained in:
		
							parent
							
								
									1c0c928856
								
							
						
					
					
						commit
						c5b9c02342
					
				@ -115,7 +115,7 @@ StreamError MappingFileSystemAdapter<TWrapped>::open(const fs::path& path, FileO
 | 
				
			|||||||
template<typename TWrapped>
 | 
					template<typename TWrapped>
 | 
				
			||||||
bool MappingFileSystemAdapter<TWrapped>::adjustPath(fs::path& path) const MIJIN_NOEXCEPT
 | 
					bool MappingFileSystemAdapter<TWrapped>::adjustPath(fs::path& path) const MIJIN_NOEXCEPT
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    if (!path.is_absolute())
 | 
					    if (path.empty() || *path.generic_string().c_str() != '/')
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        return false;
 | 
					        return false;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user