mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Move the codebase to C++14
This commit is contained in:
@@ -88,8 +88,7 @@ bool ModChannelMgr::canWriteOnChannel(const std::string &channel) const
|
||||
|
||||
void ModChannelMgr::registerChannel(const std::string &channel)
|
||||
{
|
||||
m_registered_channels[channel] =
|
||||
std::unique_ptr<ModChannel>(new ModChannel(channel));
|
||||
m_registered_channels[channel] = std::make_unique<ModChannel>(channel);
|
||||
}
|
||||
|
||||
bool ModChannelMgr::setChannelState(const std::string &channel, ModChannelState state)
|
||||
|
Reference in New Issue
Block a user