Imported Upstream version 16.3.2
[platform/upstream/libzypp.git] / zypp / media / MediaAccess.h
index 4bf4af2..4555b4a 100644 (file)
@@ -219,7 +219,7 @@ namespace zypp {
         * \throws MediaException
         *
         **/
-       void provideFile( const Pathname & filename, const ByteCount &expectedFileSize ) const;
+       void provideFile( const Pathname & filename ) const;
 
        /**
         * Remove filename below attach point IFF handler downloads files
@@ -386,7 +386,7 @@ namespace zypp {
              ZYPP_THROW(MediaBadFilenameException(_file.asString()));
            } else if ( _media ) {
              try {
-               _media->provideFile( _file, 0 );
+               _media->provideFile( _file );
                _local_file = _media->localPath( _file );
              }
              catch (const MediaException & excpt_r)