Fix minor warning in clang.

This commit is contained in:
Stephen Anthony 2021-04-06 13:15:49 -02:30
parent f3e1e559cf
commit 836137c7fc
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ void FrameBuffer::initialize()
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const int FrameBuffer::displayId(BufferType bufferType) const
int FrameBuffer::displayId(BufferType bufferType) const
{
const int maxDisplay = int(myWindowedDisplays.size()) - 1;
int display;

View File

@ -424,7 +424,7 @@ class FrameBuffer
/**
Get the display used for the current mode.
*/
const int displayId(BufferType bufferType = BufferType::None) const;
int displayId(BufferType bufferType = BufferType::None) const;
/**
Build an applicable video mode based on the current settings in