From f1ba26a63d1df3ea094f59671e66c660bb3345ca Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Thu, 21 Aug 2014 20:07:09 -0400 Subject: [PATCH] Add missing const to CSteamID Render return. --- public/steam/steamclientpublic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/steam/steamclientpublic.h b/public/steam/steamclientpublic.h index dcf1f9ec..d9e4db0c 100644 --- a/public/steam/steamclientpublic.h +++ b/public/steam/steamclientpublic.h @@ -412,8 +412,8 @@ public: // this set of functions is hidden, will be moved out of class explicit CSteamID( const char *pchSteamID, EUniverse eDefaultUniverse = k_EUniverseInvalid ); - char * Render() const; // renders this steam ID to string - static char * Render( uint64 ulSteamID ); // static method to render a uint64 representation of a steam ID to a string + const char * Render() const; // renders this steam ID to string + static const char * Render( uint64 ulSteamID ); // static method to render a uint64 representation of a steam ID to a string void SetFromString( const char *pchSteamID, EUniverse eDefaultUniverse ); bool SetFromSteam2String( const char *pchSteam2ID, EUniverse eUniverse );