Inline ctor.

This commit is contained in:
Vassil Vassilev 2014-09-03 11:57:11 +02:00 committed by sftnight
parent e4c0a20450
commit 9b28750656
2 changed files with 3 additions and 10 deletions

View File

@ -30,8 +30,9 @@ namespace cling {
namespace cling {
class AutoloadCallback : public cling::InterpreterCallbacks {
public:
AutoloadCallback(cling::Interpreter* interp);
~AutoloadCallback();
AutoloadCallback(cling::Interpreter* interp)
: InterpreterCallbacks(interp) { }
~AutoloadCallback();
using cling::InterpreterCallbacks::LookupObject;
//^to get rid of bogus warning : "-Woverloaded-virtual"
//virtual functions ARE meant to be overriden!

View File

@ -234,14 +234,6 @@ namespace cling {
m_Map.erase(found);
}
AutoloadCallback::AutoloadCallback(Interpreter* interp) :
InterpreterCallbacks(interp) {
//#ifdef _POSIX_C_SOURCE
// //Workaround for differnt expansion of macros to typedefs
// m_Interpreter->parse("#include <sys/types.h>");
//#endif
}
AutoloadCallback::~AutoloadCallback() {
}