app-misc/*: simple name change and update

Signed-off-by: Quincy Fleming <quincyf467@protonmail.com>
This commit is contained in:
Quincy Fleming
2023-07-10 13:46:19 -05:00
parent ef7a8c4faf
commit 7d3da3fe4d
7 changed files with 12 additions and 15 deletions

View File

@@ -0,0 +1,19 @@
#Created by Quincy Fleming.
#Disables debug info without using flag NDEBUG as unless forced it will be ignored in favor of the user's specified compiler flags
--- a/src/gui/include/all/clipboard/logging.hpp
+++ b/src/gui/include/all/clipboard/logging.hpp
@@ -17,7 +17,6 @@
#include <iostream>
#include <streambuf>
-#if defined(NDEBUG)
class NullBuffer : public std::streambuf {
public:
int overflow(int c) override { return c; }
@@ -26,6 +25,3 @@
static NullBuffer nullBuffer;
static std::ostream nullStream(&nullBuffer);
static std::ostream& debugStream = nullStream;
-#else
-static std::ostream& debugStream = std::cerr;
-#endif