mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
Keeping these up-to-date is just super tedious and they don't really fulfill any purpose these days.
19 lines
477 B
C++
19 lines
477 B
C++
// Copyright 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;
|
|
}
|