mumble/plugins/Module.cpp
Robert Adam 59ae429972 MAINT: Update copyright notice to 2021
This was done by running scripts/updateLicenseHeaders.py and then
manually editing the LICENSE file.
2021-03-02 10:15:01 +01:00

19 lines
487 B
C++

// Copyright 2020-2021 The Mumble Developers. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.
#include "Module.h"
Module::Module(const std::string &name) : m_name(name) {
}
procptr_t Module::baseAddress() const {
const auto iter = m_regions.cbegin();
if (iter != m_regions.cend()) {
return iter->address;
}
return 0;
}