Should solve the following warning, though I think the warning could be a false positive because of the constructor initialization (orController::TorController(struct event_base* base, const std::string& target): base(base)):
torcontrol.cpp:365:24: warning: private field 'base' is not used [-Wunused-private-field]