replaced dumb pointer with smart pointer because it wasn't being deleted
replaced dumb pointer with smart pointer because it wasn't being deleted

mne-tools/mne-cpp,mne-tools/mne-cpp,LorenzE/mne-cpp,mne-tools/mne-cpp,chdinh/mne-cpp,mne-tools/mne-cpp,LorenzE/mne-cpp,mne-tools/mne-cpp,LorenzE/mne-cpp,chdinh/mne-cpp,mne-tools/mne-cpp,LorenzE/mne-cpp,chdinh/mne-cpp,chdinh/mne-cpp,chdinh/mne-cpp,chdinh/mne-cpp