diff src/vamp-hostsdk/Files.cpp @ 405:67704de2bb54

Win32 compile fix
author Chris Cannam
date Tue, 16 Jun 2015 13:25:13 +0100
parents 732afc16cdd6
children b7268e8bd292
line wrap: on
line diff
--- a/src/vamp-hostsdk/Files.cpp	Tue Jun 16 13:02:38 2015 +0100
+++ b/src/vamp-hostsdk/Files.cpp	Tue Jun 16 13:25:13 2015 +0100
@@ -175,7 +175,7 @@
     if (li != string::npos) basename = basename.substr(li + 1);
 
 #ifdef _WIN32
-    string::size_type li = basename.rfind('\\');
+    li = basename.rfind('\\');
     if (li != string::npos) basename = basename.substr(li + 1);
 #endif