Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend/StarTitleScreen.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-02-20 09:47:10 +1100
committerGitHub <noreply@github.com>2024-02-20 09:47:10 +1100
commit1c89042016c739815b2d70bcbef4673eef6b63e0 (patch)
treef7c8e96e744222857c613e5fd14720d2695613c3 /source/frontend/StarTitleScreen.cpp
parent30e1871d3f44629e00a1f66d8164e3e62c7f889f (diff)
parent7c4fbad2ba7d79580a9ebbf9fde1de117be4d08e (diff)
Merge pull request #19 from kblaschke/fix-compiler-warnings
Fixed a huge amount of Clang warnings
Diffstat (limited to 'source/frontend/StarTitleScreen.cpp')
-rw-r--r--source/frontend/StarTitleScreen.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/frontend/StarTitleScreen.cpp b/source/frontend/StarTitleScreen.cpp
index f9f16bd..895e88a 100644
--- a/source/frontend/StarTitleScreen.cpp
+++ b/source/frontend/StarTitleScreen.cpp
@@ -50,7 +50,7 @@ TitleScreen::TitleScreen(PlayerStoragePtr playerStorage, MixerPtr mixer)
}
void TitleScreen::renderInit(RendererPtr renderer) {
- m_renderer = move(renderer);
+ m_renderer = std::move(renderer);
m_environmentPainter = make_shared<EnvironmentPainter>(m_renderer);
}
@@ -181,7 +181,7 @@ String TitleScreen::multiPlayerAddress() const {
void TitleScreen::setMultiPlayerAddress(String address) {
m_multiPlayerMenu->fetchChild<TextBoxWidget>("address")->setText(address);
- m_connectionAddress = move(address);
+ m_connectionAddress = std::move(address);
}
String TitleScreen::multiPlayerPort() const {
@@ -190,7 +190,7 @@ String TitleScreen::multiPlayerPort() const {
void TitleScreen::setMultiPlayerPort(String port) {
m_multiPlayerMenu->fetchChild<TextBoxWidget>("port")->setText(port);
- m_connectionPort = move(port);
+ m_connectionPort = std::move(port);
}
String TitleScreen::multiPlayerAccount() const {
@@ -199,7 +199,7 @@ String TitleScreen::multiPlayerAccount() const {
void TitleScreen::setMultiPlayerAccount(String account) {
m_multiPlayerMenu->fetchChild<TextBoxWidget>("account")->setText(account);
- m_account = move(account);
+ m_account = std::move(account);
}
String TitleScreen::multiPlayerPassword() const {
@@ -208,7 +208,7 @@ String TitleScreen::multiPlayerPassword() const {
void TitleScreen::setMultiPlayerPassword(String password) {
m_multiPlayerMenu->fetchChild<TextBoxWidget>("password")->setText(password);
- m_password = move(password);
+ m_password = std::move(password);
}
void TitleScreen::initMainMenu() {