Fixed unused parameter warning.
This commit is contained in:
parent
ae98593403
commit
fff4b4ae65
@ -141,7 +141,7 @@ class CameraPacket {
|
||||
void writeEventQueue(osgViewer::Viewer& viewer);
|
||||
|
||||
void setMasterKilled(const bool flag) { _masterKilled = flag; }
|
||||
const bool getMasterKilled() const { return _masterKilled; }
|
||||
bool getMasterKilled() const { return _masterKilled; }
|
||||
|
||||
unsigned int _byte_order;
|
||||
bool _masterKilled;
|
||||
|
@ -86,7 +86,7 @@ bool SpellChecker::isCorrect(const std::string& word) const
|
||||
return true;
|
||||
}
|
||||
|
||||
SpellChecker::WordList SpellChecker::suggest(const std::string& word) const
|
||||
SpellChecker::WordList SpellChecker::suggest(const std::string& /*word*/) const
|
||||
{
|
||||
return WordList();
|
||||
}
|
||||
|
@ -137,7 +137,7 @@ class ForwardToDeviceEventHandler : public osgGA::GUIEventHandler {
|
||||
public:
|
||||
ForwardToDeviceEventHandler(osgGA::Device* device, bool format_mouse_events) : osgGA::GUIEventHandler(), _device(device), _forwardMouseEvents(format_mouse_events) {}
|
||||
|
||||
virtual bool handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa, osg::Object *, osg::NodeVisitor *)
|
||||
virtual bool handle (const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& /*aa*/, osg::Object *, osg::NodeVisitor *)
|
||||
{
|
||||
switch (ea.getEventType())
|
||||
{
|
||||
@ -180,7 +180,7 @@ class DumpEventHandler : public osgGA::GUIEventHandler {
|
||||
public:
|
||||
DumpEventHandler() : osgGA::GUIEventHandler() {}
|
||||
|
||||
virtual bool handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa, osg::Object *, osg::NodeVisitor *)
|
||||
virtual bool handle (const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& /*aa*/, osg::Object *, osg::NodeVisitor *)
|
||||
{
|
||||
switch (ea.getEventType())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user