mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[PR #717] [MERGED] lib/platform: Use std::string directly instead of String typedef #1687
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#1687
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/717
Author: @p12tic
Created: 5/30/2020
Status: ✅ Merged
Merged: 5/30/2020
Merged by: @shymega
Base:
master← Head:use-std-string📝 Commits (2)
a626f24lib/net: Add missing include5eafd30lib/platform: Use std::string directly instead of String typedef📊 Changes
58 files changed (+275 additions, -358 deletions)
View changed files
📝
src/lib/net/IDataSocket.h(+1 -0)📝
src/lib/platform/MSWindowsClipboard.cpp(+4 -5)📝
src/lib/platform/MSWindowsClipboard.h(+7 -7)📝
src/lib/platform/MSWindowsClipboardAnyTextConverter.cpp(+9 -15)📝
src/lib/platform/MSWindowsClipboardAnyTextConverter.h(+7 -7)📝
src/lib/platform/MSWindowsClipboardBitmapConverter.cpp(+5 -7)📝
src/lib/platform/MSWindowsClipboardBitmapConverter.h(+2 -2)📝
src/lib/platform/MSWindowsClipboardHTMLConverter.cpp(+19 -22)📝
src/lib/platform/MSWindowsClipboardHTMLConverter.h(+3 -3)📝
src/lib/platform/MSWindowsClipboardTextConverter.cpp(+5 -7)📝
src/lib/platform/MSWindowsClipboardTextConverter.h(+2 -2)📝
src/lib/platform/MSWindowsClipboardUTF16Converter.cpp(+5 -7)📝
src/lib/platform/MSWindowsClipboardUTF16Converter.h(+2 -2)📝
src/lib/platform/MSWindowsDesks.cpp(+5 -7)📝
src/lib/platform/MSWindowsDesks.h(+6 -6)📝
src/lib/platform/MSWindowsKeyState.h(+0 -1)📝
src/lib/platform/MSWindowsScreen.cpp(+5 -8)📝
src/lib/platform/MSWindowsScreen.h(+4 -5)📝
src/lib/platform/MSWindowsScreenSaver.h(+0 -1)📝
src/lib/platform/MSWindowsSession.cpp(+2 -3)...and 38 more files
📄 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 PR also fixes a build problem on master due to missing include which got introduced due to interaction of all of these PRs that have been submitted.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.