Skip to content

Commit

Permalink
Buildfix: Another string::back() and including a .cpp?
Browse files Browse the repository at this point in the history
  • Loading branch information
xsacha committed Dec 5, 2013
1 parent 502621b commit 31af63a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Core/Util/GameManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
//
// Not concerned with full ISOs.

#pragma once

#include "net/http_client.h"

class GameManager {
Expand Down
2 changes: 1 addition & 1 deletion UI/InstallZipScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion UI/Store.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 31af63a

Please sign in to comment.