mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
fix android build
This commit is contained in:
parent
8b51263cae
commit
86dd768ae9
1 changed files with 6 additions and 10 deletions
|
|
@ -28,22 +28,18 @@
|
|||
|
||||
LINPHONE_BEGIN_NAMESPACE
|
||||
|
||||
const std::string &SysPaths::getDataPath (void *context) {
|
||||
if (!context) {
|
||||
const std::string &SysPaths::getDataPath (PlatformHelper *platformHelper) {
|
||||
if (!platformHelper) {
|
||||
return Utils::getEmptyConstRefObject<std::string>();
|
||||
}
|
||||
|
||||
AndroidPlatformHelper *helper = static_cast<AndroidPlatformHelper>(context);
|
||||
return helper->getDataPath();
|
||||
return platformHelper->getDataPath();
|
||||
}
|
||||
|
||||
const std::string &SysPaths::getConfigPath (void *context) {
|
||||
if (!context) {
|
||||
const std::string &SysPaths::getConfigPath (PlatformHelper *platformHelper) {
|
||||
if (!platformHelper) {
|
||||
return Utils::getEmptyConstRefObject<std::string>();
|
||||
}
|
||||
|
||||
AndroidPlatformHelper *helper = static_cast<AndroidPlatformHelper>(context);
|
||||
return helper->getConfigPath();
|
||||
return platformHelper->getConfigPath();
|
||||
}
|
||||
|
||||
LINPHONE_END_NAMESPACE
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue