Skip to content

Commit

Permalink
lib/common: Remove no longer used stdexcept.h
Browse files Browse the repository at this point in the history
  • Loading branch information
p12tic committed May 30, 2020
1 parent 5eac13a commit 89c6623
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 32 deletions.
2 changes: 1 addition & 1 deletion src/lib/arch/XArch.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

#include "common/common.h"
#include "common/stdstring.h"
#include "common/stdexcept.h"
#include <stdexcept>

//! Generic thread exception
/*!
Expand Down
1 change: 0 additions & 1 deletion src/lib/barrier/PlatformScreen.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

#include "barrier/IPlatformScreen.h"
#include "barrier/DragInformation.h"
#include "common/stdexcept.h"

//! Base screen implementation
/*!
Expand Down
2 changes: 1 addition & 1 deletion src/lib/barrier/StreamChunker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
#include "base/Log.h"
#include "base/Stopwatch.h"
#include "base/String.h"
#include "common/stdexcept.h"

#include <fstream>
#include <stdexcept>

using namespace std;

Expand Down
2 changes: 1 addition & 1 deletion src/lib/base/XBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#pragma once

#include "common/stdexcept.h"
#include <stdexcept>
#include <string>

//! Exception base class
Expand Down
2 changes: 1 addition & 1 deletion src/lib/client/Client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
#include "base/IEventQueue.h"
#include "base/TMethodEventJob.h"
#include "base/TMethodJob.h"
#include "common/stdexcept.h"

#include <cstring>
#include <cstdlib>
#include <sstream>
#include <stdexcept>
#include <fstream>

//
Expand Down
23 changes: 0 additions & 23 deletions src/lib/common/stdexcept.h

This file was deleted.

3 changes: 1 addition & 2 deletions src/lib/server/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,13 @@
#include "base/IEventQueue.h"
#include "base/Log.h"
#include "base/TMethodEventJob.h"
#include "common/stdexcept.h"

#include <cstring>
#include <cstdlib>
#include <sstream>
#include <fstream>
#include <ctime>

#include <stdexcept>
//
// Server
//
Expand Down
2 changes: 1 addition & 1 deletion src/test/global/TestEventQueue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "base/Log.h"
#include "base/TMethodEventJob.h"
#include "base/SimpleEventQueueBuffer.h"
#include "common/stdexcept.h"
#include <stdexcept>

void
TestEventQueue::raiseQuitEvent()
Expand Down
2 changes: 1 addition & 1 deletion src/test/integtests/net/NetworkTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#include "base/TMethodEventJob.h"
#include "base/TMethodJob.h"
#include "base/Log.h"
#include "common/stdexcept.h"
#include <stdexcept>

#include "test/global/gtest.h"
#include <sstream>
Expand Down

0 comments on commit 89c6623

Please sign in to comment.