mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[PR #718] [MERGED] Use noexcept instead of dynamic exception specifications #1688
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#1688
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/debauchee/barrier/pull/718
Author: @p12tic
Created: 5/30/2020
Status: ✅ Merged
Merged: 5/30/2020
Merged by: @shymega
Base:
master← Head:use-noexcept📝 Commits (2)
5eac13aUse noexcept instead of exception specifications89c6623lib/common: Remove no longer used stdexcept.h📊 Changes
25 files changed (+79 additions, -118 deletions)
View changed files
📝
src/lib/arch/XArch.h(+3 -3)📝
src/lib/arch/unix/XArchUnix.h(+1 -1)📝
src/lib/arch/win32/XArchWindows.cpp(+2 -2)📝
src/lib/barrier/PlatformScreen.h(+0 -1)📝
src/lib/barrier/ProtocolUtil.cpp(+1 -1)📝
src/lib/barrier/ProtocolUtil.h(+1 -1)📝
src/lib/barrier/StreamChunker.cpp(+1 -1)📝
src/lib/barrier/XBarrier.cpp(+10 -20)📝
src/lib/barrier/XBarrier.h(+12 -12)📝
src/lib/barrier/XScreen.cpp(+4 -4)📝
src/lib/barrier/XScreen.h(+2 -2)📝
src/lib/base/XBase.cpp(+3 -4)📝
src/lib/base/XBase.h(+11 -11)📝
src/lib/client/Client.cpp(+1 -1)➖
src/lib/common/stdexcept.h(+0 -23)📝
src/lib/io/XIO.cpp(+3 -3)📝
src/lib/mt/XMT.cpp(+1 -1)📝
src/lib/net/XSocket.cpp(+9 -12)📝
src/lib/net/XSocket.h(+6 -6)📝
src/lib/platform/MSWindowsWatchdog.h(+1 -1)...and 5 more files
📄 Description
This PR changes code to use
noexceptexclusively. Dynamic exception specifications have been removed completely out of C++20. Also macros such as_NOEXCEPThave been replaced withnoexcept.This PR depends on #717 to fix build issue due to missing #include.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.