Skip to content

Commit

Permalink
#5231: Rename IRadiant to IRadiantBase, we need that name
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Apr 27, 2020
1 parent 5f4e64b commit 04681d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions include/iradiant.h
Expand Up @@ -11,7 +11,7 @@ const char* const MODULE_RADIANT("Radiant");
* \brief
* Interface to the core application.
*/
class IRadiant :
class IRadiantBase :
public RegisterableModule
{
public:
Expand All @@ -23,11 +23,11 @@ class IRadiant :
virtual sigc::signal<void> signal_radiantShutdown() const = 0;
};

inline IRadiant& GlobalRadiant()
inline IRadiantBase& GlobalRadiant()
{
// Cache the reference locally
static IRadiant& _radiant(
*std::static_pointer_cast<IRadiant>(
static IRadiantBase& _radiant(
*std::static_pointer_cast<IRadiantBase>(
module::GlobalModuleRegistry().getModule(MODULE_RADIANT)
)
);
Expand Down
2 changes: 1 addition & 1 deletion radiant/RadiantModule.h
Expand Up @@ -8,7 +8,7 @@ namespace radiant

/// IRadiant implementation class.
class RadiantModule :
public IRadiant
public IRadiantBase
{
// Our signals
sigc::signal<void> _radiantStarted;
Expand Down

0 comments on commit 04681d3

Please sign in to comment.