mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Move the codebase to C++14
This commit is contained in:
parent
7db751df3b
commit
04bd253390
9 changed files with 13 additions and 20 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue