mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 19:42:10 +00:00
Fix some warnings (#12615)
This commit is contained in:
parent
6a269d58ef
commit
a871115889
9 changed files with 13 additions and 13 deletions
|
@ -846,7 +846,6 @@ private:
|
|||
|
||||
EventManager *eventmgr = nullptr;
|
||||
QuicktuneShortcutter *quicktune = nullptr;
|
||||
bool registration_confirmation_shown = false;
|
||||
|
||||
std::unique_ptr<GameUI> m_game_ui;
|
||||
GUIChatConsole *gui_chat_console = nullptr; // Free using ->Drop()
|
||||
|
|
|
@ -1174,7 +1174,7 @@ void PartialMeshBuffer::beforeDraw() const
|
|||
void PartialMeshBuffer::afterDraw() const
|
||||
{
|
||||
// Take the data back
|
||||
m_vertex_indexes = std::move(m_buffer->Indices.steal());
|
||||
m_vertex_indexes = m_buffer->Indices.steal();
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -39,7 +39,6 @@ struct ClientTexture
|
|||
video::ITexture *ref = nullptr;
|
||||
|
||||
ClientTexture() = default;
|
||||
ClientTexture(const ClientTexture&) = default;
|
||||
ClientTexture(const ServerParticleTexture& p, ITextureSource *t):
|
||||
tex(p),
|
||||
ref(t->getTextureForMesh(p.string)) {};
|
||||
|
@ -52,7 +51,6 @@ struct ClientTexRef
|
|||
ParticleTexture* tex = nullptr;
|
||||
video::ITexture* ref = nullptr;
|
||||
ClientTexRef() = default;
|
||||
ClientTexRef(const ClientTexRef&) = default;
|
||||
|
||||
/* constructor used by particles spawned from a spawner */
|
||||
ClientTexRef(ClientTexture& t):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue