From fbca9224c673f81e97d57c152d396ef41e6f6c74 Mon Sep 17 00:00:00 2001 From: namark <namark@disroot.org> Date: Wed, 2 Oct 2019 01:49:48 +0400 Subject: [PATCH] Minor cleanup. --- common/sketchbook.hpp | 2 +- notanorgan.cpp | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/common/sketchbook.hpp b/common/sketchbook.hpp index 4ead34a..94b4e71 100644 --- a/common/sketchbook.hpp +++ b/common/sketchbook.hpp @@ -97,7 +97,7 @@ class Program bool run = true; Program(const int argc, const char * const * const argv) : argc(argc), argv(argv) {} - friend int main(int, const char **); + public: const int argc; const char * const * const argv; diff --git a/notanorgan.cpp b/notanorgan.cpp index 767d407..bc3ac11 100644 --- a/notanorgan.cpp +++ b/notanorgan.cpp @@ -1,11 +1,3 @@ -#include <cstdio> -#include <cerrno> -#include <thread> -#include <chrono> -#include <cmath> -#include <algorithm> -#include <iostream> - #include "common/sketchbook.hpp" using namespace std::literals; -- GitLab