lib/common: Remove no longer used stdexcept.h

This commit is contained in:
Povilas Kanapickas 2020-05-30 22:01:38 +03:00
parent 5eac13a969
commit 89c6623c0e
9 changed files with 7 additions and 32 deletions

View File

@ -20,7 +20,7 @@
#include "common/common.h" #include "common/common.h"
#include "common/stdstring.h" #include "common/stdstring.h"
#include "common/stdexcept.h" #include <stdexcept>
//! Generic thread exception //! Generic thread exception
/*! /*!

View File

@ -20,7 +20,6 @@
#include "barrier/IPlatformScreen.h" #include "barrier/IPlatformScreen.h"
#include "barrier/DragInformation.h" #include "barrier/DragInformation.h"
#include "common/stdexcept.h"
//! Base screen implementation //! Base screen implementation
/*! /*!

View File

@ -29,9 +29,9 @@
#include "base/Log.h" #include "base/Log.h"
#include "base/Stopwatch.h" #include "base/Stopwatch.h"
#include "base/String.h" #include "base/String.h"
#include "common/stdexcept.h"
#include <fstream> #include <fstream>
#include <stdexcept>
using namespace std; using namespace std;

View File

@ -18,7 +18,7 @@
#pragma once #pragma once
#include "common/stdexcept.h" #include <stdexcept>
#include <string> #include <string>
//! Exception base class //! Exception base class

View File

@ -38,11 +38,11 @@
#include "base/IEventQueue.h" #include "base/IEventQueue.h"
#include "base/TMethodEventJob.h" #include "base/TMethodEventJob.h"
#include "base/TMethodJob.h" #include "base/TMethodJob.h"
#include "common/stdexcept.h"
#include <cstring> #include <cstring>
#include <cstdlib> #include <cstdlib>
#include <sstream> #include <sstream>
#include <stdexcept>
#include <fstream> #include <fstream>
// //

View File

@ -1,23 +0,0 @@
/*
* barrier -- mouse and keyboard sharing utility
* Copyright (C) 2014-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied this file.
*
* This package is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdexcept>
// apple declares _NOEXCEPT
#ifndef _NOEXCEPT
# define _NOEXCEPT noexcept
#endif

View File

@ -43,14 +43,13 @@
#include "base/IEventQueue.h" #include "base/IEventQueue.h"
#include "base/Log.h" #include "base/Log.h"
#include "base/TMethodEventJob.h" #include "base/TMethodEventJob.h"
#include "common/stdexcept.h"
#include <cstring> #include <cstring>
#include <cstdlib> #include <cstdlib>
#include <sstream> #include <sstream>
#include <fstream> #include <fstream>
#include <ctime> #include <ctime>
#include <stdexcept>
// //
// Server // Server
// //

View File

@ -20,7 +20,7 @@
#include "base/Log.h" #include "base/Log.h"
#include "base/TMethodEventJob.h" #include "base/TMethodEventJob.h"
#include "base/SimpleEventQueueBuffer.h" #include "base/SimpleEventQueueBuffer.h"
#include "common/stdexcept.h" #include <stdexcept>
void void
TestEventQueue::raiseQuitEvent() TestEventQueue::raiseQuitEvent()

View File

@ -38,7 +38,7 @@
#include "base/TMethodEventJob.h" #include "base/TMethodEventJob.h"
#include "base/TMethodJob.h" #include "base/TMethodJob.h"
#include "base/Log.h" #include "base/Log.h"
#include "common/stdexcept.h" #include <stdexcept>
#include "test/global/gtest.h" #include "test/global/gtest.h"
#include <sstream> #include <sstream>