mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[PR #709] [MERGED] lib/base: Use std::string directly instead of String typedef #1681
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#1681
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/709
Author: @p12tic
Created: 5/30/2020
Status: ✅ Merged
Merged: 5/30/2020
Merged by: @shymega
Base:
master← Head:use-std-string-1📝 Commits (1)
61771d9lib/base: Use std::string directly instead of String typedef📊 Changes
19 files changed (+156 additions, -176 deletions)
View changed files
📝
src/lib/barrier/ProtocolUtil.h(+3 -3)📝
src/lib/barrier/XBarrier.h(+10 -12)📝
src/lib/barrier/XScreen.cpp(+3 -6)📝
src/lib/barrier/XScreen.h(+1 -1)📝
src/lib/base/EventQueue.cpp(+1 -2)📝
src/lib/base/EventQueue.h(+2 -3)📝
src/lib/base/IEventQueue.h(+1 -2)📝
src/lib/base/Log.cpp(+0 -1)📝
src/lib/base/String.cpp(+29 -33)📝
src/lib/base/String.h(+20 -20)📝
src/lib/base/Unicode.cpp(+40 -41)📝
src/lib/base/Unicode.h(+20 -22)📝
src/lib/base/XBase.cpp(+3 -3)📝
src/lib/base/XBase.h(+13 -14)📝
src/lib/base/log_outputters.cpp(+3 -2)📝
src/lib/base/log_outputters.h(+2 -2)📝
src/lib/io/XIO.cpp(+3 -6)📝
src/lib/mt/XMT.cpp(+1 -2)📝
src/test/mock/barrier/MockEventQueue.h(+1 -1)📄 Description
Having a
Stringtypedef that points tostd::stringdoes not serve any benefit and is just confusing. This PR should not result in any functionality changes, I would expect the produced binary to be exactly the same.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.