Added std::endl to the warning message