From 9b386b86ec04181fa3b973e3dffa841574da75b1 Mon Sep 17 00:00:00 2001 From: hogliux Date: Wed, 11 Oct 2017 12:23:50 +0100 Subject: [PATCH] Widnows: Fixed deprecated use of File::separator --- modules/juce_core/files/juce_File.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_core/files/juce_File.cpp b/modules/juce_core/files/juce_File.cpp index cde6e6ba5f..4ce1f26d8c 100644 --- a/modules/juce_core/files/juce_File.cpp +++ b/modules/juce_core/files/juce_File.cpp @@ -120,9 +120,9 @@ String File::parseAbsolutePath (const String& p) // Windows.. auto path = removeEllipsis (p.replaceCharacter ('/', '\\')); - if (path.startsWithChar (separator)) + if (path.startsWithChar (getSeparatorChar())) { - if (path[1] != separator) + if (path[1] != getSeparatorChar()) { /* When you supply a raw string to the File object constructor, it must be an absolute path. If you're trying to parse a string that may be either a relative path or an absolute path,