Inheritance and preprocessor

#pragma once is awesome