chore: remove StdOStream and include ostream directly where needed
This commit is contained in:
parent
854787e6b3
commit
1798d7e4e6
3 changed files with 2 additions and 17 deletions
|
|
@ -7,7 +7,6 @@ add_library(common STATIC
|
||||||
Common.h
|
Common.h
|
||||||
IInterface.h
|
IInterface.h
|
||||||
StdExcept.h
|
StdExcept.h
|
||||||
StdOStream.h
|
|
||||||
Settings.h
|
Settings.h
|
||||||
Settings.cpp
|
Settings.cpp
|
||||||
QSettingsProxy.cpp
|
QSettingsProxy.cpp
|
||||||
|
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
/*
|
|
||||||
* Deskflow -- mouse and keyboard sharing utility
|
|
||||||
* SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
|
|
||||||
* SPDX-FileCopyrightText: (C) 2002 Chris Schoeneman
|
|
||||||
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if HAVE_OSTREAM
|
|
||||||
#include <ostream>
|
|
||||||
#else
|
|
||||||
#include <iostream>
|
|
||||||
#endif
|
|
||||||
|
|
@ -8,8 +8,6 @@
|
||||||
#include "server/Config.h"
|
#include "server/Config.h"
|
||||||
|
|
||||||
#include "base/IEventQueue.h"
|
#include "base/IEventQueue.h"
|
||||||
#include "common/StdIStream.h"
|
|
||||||
#include "common/StdOStream.h"
|
|
||||||
#include "deskflow/KeyMap.h"
|
#include "deskflow/KeyMap.h"
|
||||||
#include "deskflow/KeyTypes.h"
|
#include "deskflow/KeyTypes.h"
|
||||||
#include "deskflow/OptionTypes.h"
|
#include "deskflow/OptionTypes.h"
|
||||||
|
|
@ -18,6 +16,8 @@
|
||||||
#include "server/Server.h"
|
#include "server/Server.h"
|
||||||
|
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
#include <istream>
|
||||||
|
#include <ostream>
|
||||||
|
|
||||||
using namespace deskflow::string;
|
using namespace deskflow::string;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue