Compiler warning fix.
My guess is that this fixes the warning: /singularity/singularity-master/indra/newview/llfloaterdirectory.cpp: In function ‘void* createWebPanel(void*)’: /singularity/singularity-master/indra/newview/llfloaterdirectory.cpp:167: warning: ‘createWebPanel(void*)::LLPanelDirWeb’ declared with greater visibility than the type of its field ‘createWebPanel(void*)::LLPanelDirWeb::<anonymous>’ /singularity/singularity-master/indra/newview/llfloaterdirectory.cpp:167: warning: ‘createWebPanel(void*)::LLPanelDirWeb’ declared with greater visibility than its base ‘LLPanelDirFind’ That I see in https://files.streamgrid.net/singularity/linux-i686.log
This commit is contained in:
@@ -161,7 +161,9 @@ private:
|
|||||||
std::string mMarketplaceURL;
|
std::string mMarketplaceURL;
|
||||||
};
|
};
|
||||||
|
|
||||||
static void* createWebPanel(void* data)
|
namespace {
|
||||||
|
|
||||||
|
void* createWebPanel(void* data)
|
||||||
{
|
{
|
||||||
struct LLPanelDirWeb : public LLPanelDirFind
|
struct LLPanelDirWeb : public LLPanelDirFind
|
||||||
{
|
{
|
||||||
@@ -175,6 +177,8 @@ static void* createWebPanel(void* data)
|
|||||||
return new LLPanelDirWeb(static_cast<LLFloaterDirectory*>(data));
|
return new LLPanelDirWeb(static_cast<LLFloaterDirectory*>(data));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} // namespace
|
||||||
|
|
||||||
LLFloaterDirectory* LLFloaterDirectory::sInstance = NULL;
|
LLFloaterDirectory* LLFloaterDirectory::sInstance = NULL;
|
||||||
//static
|
//static
|
||||||
S32 LLFloaterDirectory::sOldSearchCount = 0; // debug
|
S32 LLFloaterDirectory::sOldSearchCount = 0; // debug
|
||||||
|
|||||||
Reference in New Issue
Block a user