Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 831 vs 832 for /trunk/Source Code/Scenes/Scene.cpp

Diff revisions: vs.
  @@ -155,9 +155,9 @@
155 155
156 156 void Scene::addMusic(MusicType type, const stringImpl& name, const stringImpl& srcFile) {
157 157
158 - std::pair<stringImpl, stringImpl> fileResult = SplitPathToNameAndLocation(srcFile);
159 - const stringImpl& musicFile = fileResult.first;
160 - const stringImpl& musicFilePath = fileResult.second;
158 + FileWithPath fileResult = splitPathToNameAndLocation(srcFile);
159 + const stringImpl& musicFile = fileResult._fileName;
160 + const stringImpl& musicFilePath = fileResult._path;
161 161
162 162 ResourceDescriptor music(name);
163 163 music.setResourceName(musicFile);