Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
86dd768a
Commit
86dd768a
authored
Oct 19, 2017
by
Benjamin REIS
Browse files
fix android build
parent
8b51263c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/utils/paths/paths-android.cpp
View file @
86dd768a
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment