OneLife icon indicating copy to clipboard operation
OneLife copied to clipboard

EditorImportPage checks if a pointer is negative

Open oddbury opened this issue 7 years ago • 0 comments

Probably a difference in strictness in clang.

EditorImportPage.cpp:1220:48: error: ordered comparison between pointer and zero ('double *' and 'int')
            if( mOverlayScale.getLastElement() < 0 ) {
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~

Should be getLastElementDirect()?

oddbury avatar Mar 02 '19 16:03 oddbury