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
dfd84c18
Commit
dfd84c18
authored
Nov 27, 2017
by
IOhannes m zmölnig
Browse files
older versions of std::bad_cast:.what() where declared 'throw()'
pre C++-11
parent
cbf99053
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Utils/any.h
View file @
dfd84c18
...
@@ -39,6 +39,8 @@ namespace gem
...
@@ -39,6 +39,8 @@ namespace gem
virtual
const
char
*
what
(
void
)
const
virtual
const
char
*
what
(
void
)
const
#if __cplusplus > 199711L
#if __cplusplus > 199711L
noexcept
noexcept
#else
throw
()
#endif
#endif
{
{
return
result
.
c_str
();
return
result
.
c_str
();
...
...
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