Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
cannonball
Commits
b8564190
Commit
b8564190
authored
Jun 03, 2018
by
Libretro-Admin
Browse files
Revert "Get it compiling on Android"
This reverts commit
ba412d70
.
parent
ba412d70
Changes
1
Hide whitespace changes
Inline
Side-by-side
deps/boost/property_tree/detail/ptree_implementation.hpp
View file @
b8564190
...
...
@@ -664,8 +664,12 @@ namespace boost { namespace property_tree
typename
boost
::
enable_if
<
detail
::
is_translator
<
Translator
>
,
Type
>::
type
basic_ptree
<
K
,
D
,
C
>::
get_value
(
Translator
tr
)
const
{
if
(
boost
::
optional
<
Type
>
o
=
get_value_optional
<
Type
>
(
tr
))
if
(
boost
::
optional
<
Type
>
o
=
get_value_optional
<
Type
>
(
tr
))
{
return
*
o
;
}
BOOST_PROPERTY_TREE_THROW
(
ptree_bad_data
(
std
::
string
(
"conversion of data to type
\"
"
)
+
typeid
(
Type
).
name
()
+
"
\"
failed"
,
data
()));
}
template
<
class
K
,
class
D
,
class
C
>
...
...
@@ -816,8 +820,13 @@ namespace boost { namespace property_tree
template
<
class
Type
,
class
Translator
>
void
basic_ptree
<
K
,
D
,
C
>::
put_value
(
const
Type
&
value
,
Translator
tr
)
{
if
(
optional
<
data_type
>
o
=
tr
.
put_value
(
value
))
if
(
optional
<
data_type
>
o
=
tr
.
put_value
(
value
))
{
data
()
=
*
o
;
}
else
{
BOOST_PROPERTY_TREE_THROW
(
ptree_bad_data
(
std
::
string
(
"conversion of type
\"
"
)
+
typeid
(
Type
).
name
()
+
"
\"
to data failed"
,
boost
::
any
()));
}
}
template
<
class
K
,
class
D
,
class
C
>
...
...
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