Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Albert Gräf
Gem
Commits
ca84e120
Commit
ca84e120
authored
Jan 31, 2019
by
IOhannes m zmölnig
Browse files
use std::string for gem::any
parent
baa9affc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Geos/model.cpp
View file @
ca84e120
...
...
@@ -87,8 +87,7 @@ static gem::any atom2any(t_atom*ap)
result
=
atom_getfloat
(
ap
);
break
;
case
A_SYMBOL
:
#warning gem::any doesnt like "const char*"
result
=
const_cast
<
char
*>
(
atom_getsymbol
(
ap
)
->
s_name
);
result
=
std
::
string
(
atom_getsymbol
(
ap
)
->
s_name
);
break
;
default:
result
=
ap
->
a_w
.
w_gpointer
;
...
...
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