Buildfix: Another string::back() and including a .cpp?

This commit is contained in:
Sacha 2013-12-06 01:04:50 +10:00
parent 502621bb08
commit 31af63adf4
3 changed files with 4 additions and 2 deletions

View file

@ -20,6 +20,8 @@
//
// Not concerned with full ISOs.
#pragma once
#include "net/http_client.h"
class GameManager {

View file

@ -23,7 +23,7 @@
#include "UI/ui_atlas.h"
#include "file/file_util.h"
#include "Core/Util/GameManager.cpp"
#include "Core/Util/GameManager.h"
#include "UI/InstallZipScreen.h"
void InstallZipScreen::CreateViews() {

View file

@ -250,7 +250,7 @@ UI::EventReturn StoreScreen::OnRetry(UI::EventParams &e) {
std::string StoreScreen::GetStoreJsonURL(std::string storePath) const {
std::string path = storeBaseUrl + storePath;
if (path.back() != '/')
if (*path.rbegin() != '/')
path += '/';
path += "index.json";
return path;