Skip to content

Commit 7f03bd0

Browse files
committed
remove old function
1 parent 855d731 commit 7f03bd0

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

source/gameanalytics/GameAnalytics.cpp

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -743,24 +743,6 @@ namespace gameanalytics
743743
return state::GAState::getRemoteConfigsValue<std::string>(key, defaultValue);
744744
}
745745

746-
int64_t GameAnalytics::getRemoteConfigsValueAsInt(std::string const& key, int64_t defaultValue)
747-
{
748-
try
749-
{
750-
std::string s = getRemoteConfigsValueAsString(key);
751-
if(!s.empty())
752-
{
753-
return std::stoll(s);
754-
}
755-
}
756-
catch(std::exception& e)
757-
{
758-
(void)e;
759-
}
760-
761-
return defaultValue;
762-
}
763-
764746
std::string GameAnalytics::getRemoteConfigsValueAsJson(std::string const& key)
765747
{
766748
std::string jsonString = getRemoteConfigsValueAsString(key);

0 commit comments

Comments
 (0)