We do not need to mark explicitly funtions defined in a class inline.
See [dcl.inline].4: "A function defined within a class definition is an inline function."
This commit is contained in:
parent
4336ae74c7
commit
ce34bd7abf
@ -75,7 +75,7 @@ namespace runtime {
|
||||
Interpreter* Interp);
|
||||
|
||||
///\brief Returns the created object.
|
||||
inline void* getMemory() const { return m_Memory; }
|
||||
void* getMemory() const { return m_Memory; }
|
||||
|
||||
/// \brief Clears up the free store, when LifetimeHandler goes out of
|
||||
/// scope.
|
||||
|
@ -267,7 +267,7 @@ namespace cling {
|
||||
/// casting the value of builtins (except void), enums and pointers.
|
||||
/// Values referencing an object are treated as pointers to the object.
|
||||
template <typename T>
|
||||
inline T simplisticCastAs() const {
|
||||
T simplisticCastAs() const {
|
||||
return CastFwd<T>::cast(*this);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user