diff options
Diffstat (limited to 'protocols/Steam/src/Steam/friend_list.h')
-rw-r--r-- | protocols/Steam/src/Steam/friend_list.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Steam/src/Steam/friend_list.h b/protocols/Steam/src/Steam/friend_list.h index 6b0a5adf50..5cd683fa9b 100644 --- a/protocols/Steam/src/Steam/friend_list.h +++ b/protocols/Steam/src/Steam/friend_list.h @@ -16,7 +16,7 @@ namespace SteamWebApi public:
int GetCount() const { return friendIds.size(); }
- const char * operator[](int idx) const { return friendIds[idx].c_str(); }
+ const char * operator[](int idx) const { return friendIds.at(idx).c_str(); }
};
static void Load(HANDLE hConnection, const char *token, const char *steamId, FriendList *friendList)
|