-Arx/src/ai/PathFinder.cpp:86:2: warning: function 'getId' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/ai/PathFinder.cpp:87:2: warning: function 'getParent' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/ai/PathFinder.cpp:88:2: warning: function 'getCost' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/ai/PathFinder.cpp:89:2: warning: function 'getDistance' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/ai/PathFinder.cpp:174:2: warning: function 'contains' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/ai/PathFinder.h:142:2: warning: function 'getIlluminationCost' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/ai/PathFinder.h:143:2: warning: function 'getNearestNode' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/ai/PathFinderManager.cpp:102:2: warning: function 'isBusy' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/ai/Paths.h:95:2: warning: function 'interpolateCurve' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/ai/Paths.h:127:2: warning: function 'interpolateCurve' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/animation/Animation.h:112:2: warning: function 'nb_groups' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/animation/Animation.h:164:2: warning: function 'currentAltAnim' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/Ambiance.h:68:2: warning: function 'getType' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/Ambiance.h:70:2: warning: function 'getChannel' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/Ambiance.h:71:2: warning: function 'getName' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/Ambiance.h:75:2: warning: function 'isPaused' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/Ambiance.h:76:2: warning: function 'isPlaying' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/Ambiance.h:77:2: warning: function 'isIdle' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/Ambiance.h:78:2: warning: function 'isLooped' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/AudioResource.h:82:2: warning: function 'isReferenced' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/AudioResource.h:113:2: warning: function 'isValid' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/AudioResource.h:119:2: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/AudioResource.h:127:2: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/AudioResource.h:128:2: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/AudioSource.h:87:2: warning: function 'getId' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/AudioSource.h:88:2: warning: function 'getSample' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/AudioSource.h:89:2: warning: function 'getChannel' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/AudioSource.h:90:2: warning: function 'getStatus' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/AudioSource.h:91:2: warning: function 'isPlaying' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/AudioSource.h:92:2: warning: function 'isIdle' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/AudioTypes.h:144:2: warning: function 'source' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/AudioTypes.h:148:2: warning: function 'getSampleId' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/Mixer.h:60:2: warning: function 'isPaused' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/Mixer.h:61:2: warning: function 'getFinalVolume' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/Sample.h:65:2: warning: function 'getName' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/Sample.h:66:2: warning: function 'getLength' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/Sample.h:67:2: warning: function 'getFormat' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/audio/codec/WAV.cpp:69:2: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/core/Application.h:62:2: warning: function 'getWindow' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/core/Benchmark.cpp:89:2: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/core/Config.cpp:330:2: warning: function 'getActionKey' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/core/GameTime.h:118:2: warning: function 'now' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/core/GameTime.h:124:2: warning: function 'isPaused' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/core/GameTime.h:128:2: warning: function 'lastFrameDuration' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/core/GameTime.h:132:2: warning: function 'speed' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/core/SaveGame.h:97:2: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/core/SaveGame.h:98:2: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/core/SaveGame.h:100:2: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/core/SaveGame.h:101:2: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/Camera.h:48:2: warning: function 'fov' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/Entity.h:387:2: warning: function 'id' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/Entity.h:396:2: warning: function 'className' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/Entity.h:406:2: warning: function 'instance' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/Entity.h:414:2: warning: function 'idString' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/Entity.h:422:2: warning: function 'instancePath' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/Entity.h:425:2: warning: function 'index' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/Entity.h:446:2: warning: function 'classPath' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/EntityId.h:72:2: warning: function 'className' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/EntityId.h:73:2: warning: function 'instance' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/EntityId.h:93:2: warning: function 'isSpecial' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/EntityId.h:98:2: warning: function 'string' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/EntityManager.cpp:66:2: warning: function 'getById' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/EntityManager.h:48:2: warning: function 'getById' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/EntityManager.h:49:2: warning: function 'getById' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/EntityManager.h:57:2: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/EntityManager.h:68:2: warning: function 'player' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/EntityManager.h:79:2: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/EntityManager.h:84:2: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/EntityManager.h:85:2: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/Inventory.cpp:201:2: warning: function 'index' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/Inventory.cpp:257:2: warning: function 'index' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/Inventory.cpp:332:2: warning: function 'index' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/Inventory.cpp:340:2: warning: function 'index' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/Inventory.cpp:778:2: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/Player.h:323:2: warning: function 'hasRune' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/Player.h:395:2: warning: function 'basePosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/Player.h:399:2: warning: function 'baseCylinder' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/magic/Spell.h:148:2: warning: function 'getPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/magic/Spell.h:149:2: warning: function 'getCasterPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/magic/Spell.h:150:2: warning: function 'getTargetPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/magic/spells/SpellsLvl02.h:65:2: warning: function 'getPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/magic/spells/SpellsLvl02.h:79:2: warning: function 'getPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/magic/spells/SpellsLvl03.h:40:2: warning: function 'getPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/magic/spells/SpellsLvl03.h:73:2: warning: function 'getPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/magic/spells/SpellsLvl04.h:37:2: warning: function 'getPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/magic/spells/SpellsLvl04.h:67:2: warning: function 'getPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/magic/spells/SpellsLvl04.h:79:2: warning: function 'getPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/magic/spells/SpellsLvl04.h:103:2: warning: function 'getPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/magic/spells/SpellsLvl05.h:38:2: warning: function 'getPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/magic/spells/SpellsLvl06.h:59:2: warning: function 'getPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/magic/spells/SpellsLvl06.h:73:2: warning: function 'getPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/magic/spells/SpellsLvl06.h:101:2: warning: function 'getPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/magic/spells/SpellsLvl07.h:40:2: warning: function 'getPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/magic/spells/SpellsLvl07.h:61:2: warning: function 'getPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/magic/spells/SpellsLvl07.h:84:2: warning: function 'getPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/magic/spells/SpellsLvl07.h:127:2: warning: function 'getPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/magic/spells/SpellsLvl08.h:36:2: warning: function 'getPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/magic/spells/SpellsLvl08.h:51:2: warning: function 'getPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/magic/spells/SpellsLvl08.h:97:2: warning: function 'getPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/game/magic/spells/SpellsLvl09.h:102:2: warning: function 'getPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/BaseGraphicsTypes.h:83:2: warning: function 'contains' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/BaseGraphicsTypes.h:106:2: warning: function 'valid' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/BaseGraphicsTypes.h:110:2: warning: function 'toRect' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/BaseGraphicsTypes.h:135:2: warning: function 'valid' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Color.h:158:2: warning: function 'toRGB' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Color.h:165:2: warning: function 'toBGR' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Color.h:288:2: warning: function 'toRGBA' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Color.h:292:2: warning: function 'toBGRA' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/GraphicsFormat.h:54:2: warning: function 'toVec3' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/RenderBatcher.h:57:2: warning: function 'apply' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/RenderBatcher.h:59:2: warning: function 'getTexture' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/RenderBatcher.h:66:2: warning: function 'getDepthTest' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/RenderBatcher.h:69:2: warning: function 'getBlendType' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/RenderBatcher.h:72:2: warning: function 'getLayer' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/RenderBatcher.h:75:2: warning: function 'getWrapMode' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/RenderBatcher.h:78:2: warning: function 'getDepthBias' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/RenderBatcher.h:81:2: warning: function 'getCulling' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:84:2: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:84:2: warning: function 'get<0UL, 2UL>' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:84:2: warning: function 'get<11UL, 4UL>' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:84:2: warning: function 'get<15UL, 4UL>' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:84:2: warning: function 'get<2UL, 1UL>' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:84:2: warning: function 'get<3UL, 1UL>' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:84:2: warning: function 'get<4UL, 1UL>' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:84:2: warning: function 'get<5UL, 1UL>' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:84:2: warning: function 'get<6UL, 5UL>' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:110:2: warning: function 'cull' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:116:2: warning: function 'getCull' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:124:2: warning: function 'fog' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:130:2: warning: function 'getFog' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:138:2: warning: function 'alphaCutout' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:144:2: warning: function 'getAlphaCutout' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:152:2: warning: function 'depthTest' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:158:2: warning: function 'getDepthTest' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:166:2: warning: function 'depthWrite' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:172:2: warning: function 'getDepthWrite' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:185:2: warning: function 'depthOffset' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:191:2: warning: function 'noDepthOffset' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:197:2: warning: function 'getDepthOffset' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:216:2: warning: function 'blend' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:223:2: warning: function 'blendAdditive' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:229:2: warning: function 'noBlend' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:235:2: warning: function 'getBlendSrc' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:239:2: warning: function 'getBlendDst' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:243:2: warning: function 'isBlendEnabled' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:319:2: warning: function 'isInitialized' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:368:2: warning: function 'getTextureStageCount' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:370:2: warning: function 'GetTextureStage' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:372:2: warning: function 'GetTexture' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:376:2: warning: function 'getMaxSupportedAnisotropy' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:379:2: warning: function 'getMaxSupportedAlphaCutoutAntialiasing' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/Renderer.h:391:2: warning: function 'getRenderState' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/VertexBuffer.h:44:2: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/VertexBuffer.h:66:2: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/data/TextureContainer.h:158:2: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/effects/Cabal.h:68:2: warning: function 'randomizeLightColor' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/effects/Trail.h:41:2: warning: function 'emtpy' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/font/Font.h:122:3: warning: function 'anchor' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/font/Font.h:126:3: warning: function 'start' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/font/Font.h:130:3: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/font/Font.h:134:3: warning: function 'width' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/font/Font.h:138:3: warning: function 'height' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/font/Font.h:142:3: warning: function 'advance' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/font/Font.h:146:3: warning: function 'head' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/font/Font.h:150:3: warning: function 'tail' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/font/Font.h:154:3: warning: function 'next' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/font/Font.h:158:3: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/font/Font.h:172:2: warning: function 'getInfo' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/font/Font.h:173:2: warning: function 'getName' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/font/Font.h:174:2: warning: function 'getSize' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/font/Font.h:175:2: warning: function 'getWeight' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/font/Font.h:199:2: warning: function 'getLineHeight' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/font/Font.h:200:2: warning: function 'getMaxAdvance' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/font/FontCache.cpp:81:3: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/image/Image.h:66:2: warning: function 'getWidth' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/image/Image.h:67:2: warning: function 'getHeight' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/image/Image.h:68:2: warning: function 'getFormat' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/image/Image.h:69:2: warning: function 'getSize' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/image/Image.h:70:2: warning: function 'getNumChannels' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/image/Image.h:72:2: warning: function 'isValid' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/image/Image.h:74:2: warning: function 'hasAlpha' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/image/Image.h:84:2: warning: function 'getData' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/image/Image.h:115:2: warning: function 'save' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/opengl/GLTextureStage.h:39:2: warning: function 'getTexture' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/opengl/GLVertexBuffer.h:490:2: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/opengl/GLVertexBuffer.h:492:2: warning: function 'map' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/opengl/GLVertexBuffer.h:497:2: warning: function 'create' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/opengl/OpenGLRenderer.h:73:2: warning: function 'getMaxAnisotropy' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/opengl/OpenGLRenderer.h:74:2: warning: function 'getMaxSupportedAnisotropy' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/opengl/OpenGLRenderer.h:77:2: warning: function 'getMaxSupportedAlphaCutoutAntialiasing' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/opengl/OpenGLRenderer.h:95:2: warning: function 'hasTextureNPOT' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/opengl/OpenGLRenderer.h:96:2: warning: function 'hasSizedTextureFormats' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/opengl/OpenGLRenderer.h:97:2: warning: function 'hasIntensityTextures' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/opengl/OpenGLRenderer.h:98:2: warning: function 'hasBGRTextureTransfer' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/opengl/OpenGLRenderer.h:100:2: warning: function 'hasMapBuffer' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/opengl/OpenGLRenderer.h:101:2: warning: function 'hasMapBufferRange' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/opengl/OpenGLRenderer.h:102:2: warning: function 'hasBufferStorage' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/opengl/OpenGLRenderer.h:103:2: warning: function 'hasBufferUsageStream' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/opengl/OpenGLRenderer.h:104:2: warning: function 'hasDrawRangeElements' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/opengl/OpenGLRenderer.h:105:2: warning: function 'hasDrawElementsBaseVertex' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/opengl/OpenGLRenderer.h:106:2: warning: function 'hasClearDepthf' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/opengl/OpenGLRenderer.h:107:2: warning: function 'hasVertexFogCoordinate' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/opengl/OpenGLRenderer.h:108:2: warning: function 'hasSampleShading' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/opengl/OpenGLUtil.h:91:2: warning: function 'isES' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/opengl/OpenGLUtil.h:94:2: warning: function 'is' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/particle/Particle.h:86:2: warning: function 'isAlive' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/particle/ParticleSystem.h:83:2: warning: function 'IsAlive' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/texture/PackedTexture.h:49:2: warning: function 'getTextureSize' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/texture/PackedTexture.h:50:2: warning: function 'getTextureCount' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/texture/Texture.h:52:2: warning: function 'getSize' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/texture/Texture.h:53:2: warning: function 'getStoredSize' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/texture/Texture.h:55:2: warning: function 'getFormat' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/texture/Texture.h:56:2: warning: function 'hasAlpha' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/texture/Texture.h:58:2: warning: function 'hasMipmaps' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/texture/Texture.h:59:2: warning: function 'isIntensity' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/graphics/texture/Texture.h:62:2: warning: function 'getFileName' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/gui/CinematicBorder.h:29:2: warning: function 'isActive' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/gui/CinematicBorder.h:30:2: warning: function 'elapsedTime' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/gui/Console.h:55:2: warning: function 'lines' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/gui/Console.h:61:2: warning: function 'line' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/gui/Cursor.cpp:236:2: warning: function 'getCurrentTexture' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/gui/MainMenu.h:57:2: warning: function 'requestedPage' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/gui/MenuWidgets.h:86:2: warning: function 'currentPageId' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/gui/MenuWidgets.h:90:2: warning: function 'getPage' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/gui/MenuWidgets.h:92:2: warning: function 'scroll' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/gui/Note.h:68:2: warning: function 'page' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/gui/Note.h:69:2: warning: function 'pageCount' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/gui/Note.h:72:2: warning: function 'area' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/gui/Note.h:73:2: warning: function 'prevPageButton' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/gui/Note.h:74:2: warning: function 'nextPageButton' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/gui/TextManager.h:71:2: warning: function 'Empty' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/gui/book/Book.h:130:2: warning: function 'currentPage' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/gui/book/Book.h:148:2: warning: function 'canOpenPage' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/gui/hud/PlayerInventory.h:86:2: warning: function 'isClosing' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/gui/menu/MenuPage.h:71:2: warning: function 'id' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/gui/menu/MenuPage.h:95:2: warning: function 'buttonSize' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/gui/menu/MenuPage.h:96:2: warning: function 'checkboxSize' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/gui/menu/MenuPage.h:97:2: warning: function 'sliderSize' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/gui/widget/WidgetContainer.h:38:2: warning: function 'getWidgetAt' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/gui/widget/WidgetContainer.h:43:2: warning: function 'widgets' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/Input.h:115:2: warning: function 'actionNowPressed' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/Input.h:116:2: warning: function 'actionPressed' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/Input.h:117:2: warning: function 'actionNowReleased' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/Input.h:123:2: warning: function 'getMousePosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/Input.h:124:2: warning: function 'getRelativeMouseMovement' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/Input.h:125:2: warning: function 'isMouseInWindow' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/Input.h:134:2: warning: function 'getMouseButton' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/Input.h:135:2: warning: function 'getMouseButtonClicked' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/Input.h:136:2: warning: function 'getMouseButtonRepeat' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/Input.h:137:2: warning: function 'getMouseButtonNowPressed' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/Input.h:138:2: warning: function 'getMouseButtonNowUnPressed' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/Input.h:139:2: warning: function 'getMouseButtonDoubleClick' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/Input.h:141:2: warning: function 'getMouseWheelDir' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/Input.h:145:2: warning: function 'getKeyPressed' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/Input.h:146:2: warning: function 'isAnyKeyPressed' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/Input.h:147:2: warning: function 'isKeyPressed' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/Input.h:148:2: warning: function 'isKeyPressedNowPressed' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/Input.h:149:2: warning: function 'isKeyPressedNowUnPressed' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/InputBackend.h:46:2: warning: function 'isKeyboardKeyPressed' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/InputBackend.h:49:2: warning: function 'getKeyName' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/SDL2InputBackend.h:53:2: warning: function 'isKeyboardKeyPressed' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/SDL2InputBackend.h:56:2: warning: function 'getKeyName' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/TextInput.h:105:2: warning: function 'findWordLeft' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/TextInput.h:106:2: warning: function 'findWordRight' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/TextInput.h:119:2: warning: function 'selected' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/TextInput.h:121:2: warning: function 'text' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/TextInput.h:122:2: warning: function 'cursorPos' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/TextInput.h:123:2: warning: function 'editText' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/TextInput.h:124:2: warning: function 'editCursorPos' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/input/TextInput.h:125:2: warning: function 'editCursorLength' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/IniReader.h:59:2: warning: function 'getKey' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/IniReader.h:69:2: warning: function 'getKey' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/IniReader.h:78:2: warning: function 'getKey' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/IniReader.h:87:2: warning: function 'getKey' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/IniReader.h:93:2: warning: function 'getKey' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/IniReader.h:95:2: warning: function 'getSection' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/IniReader.h:97:2: warning: function 'getKeyCount' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/IniReader.h:99:2: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/IniReader.h:100:2: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/IniSection.h:40:2: warning: function 'getName' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/IniSection.h:41:2: warning: function 'getValue' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/IniSection.h:43:2: warning: function 'getValue' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/IniSection.h:45:2: warning: function 'getValue' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/IniSection.h:48:2: warning: function 'getValue' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/IniSection.h:74:2: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/IniSection.h:75:2: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/IniSection.h:76:2: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/IniSection.h:77:2: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/IniSection.h:79:2: warning: function 'getKey' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/SaveBlock.h:90:3: warning: function 'compressionName' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/fs/FilePath.h:69:2: warning: function 'string' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/fs/FilePath.h:77:2: warning: function 'parent' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/fs/FilePath.h:105:2: warning: function 'filename' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/fs/FilePath.h:114:2: warning: function 'basename' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/fs/FilePath.h:120:2: warning: function 'ext' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/fs/FilePath.h:122:2: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/fs/FilePath.h:187:2: warning: function 'has_ext' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/fs/FilePath.h:190:2: warning: function 'is_up' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/fs/FilePath.h:196:2: warning: function 'has_info' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/fs/FilePath.h:205:2: warning: function 'is_dot' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/fs/FilePath.h:207:2: warning: function 'is_root' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/fs/FilePath.h:216:2: warning: function 'is_relative' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/fs/FilePath.h:225:2: warning: function 'is_absolute' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/fs/SystemPaths.cpp:94:2: warning: function 'getSearchPaths' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/resource/PakEntry.h:49:2: warning: function 'alternative' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/resource/PakEntry.h:51:2: warning: function 'read' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/resource/PakEntry.h:53:2: warning: function 'open' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/resource/PakReader.cpp:89:2: warning: function 'read' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/resource/PakReader.cpp:91:2: warning: function 'open' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/resource/PakReader.cpp:197:2: warning: function 'read' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/resource/PakReader.cpp:199:2: warning: function 'open' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/resource/PakReader.cpp:389:2: warning: function 'read' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/resource/PakReader.cpp:391:2: warning: function 'open' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/resource/ResourcePath.h:68:2: warning: function 'string' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/resource/ResourcePath.h:76:2: warning: function 'parent' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/resource/ResourcePath.h:101:2: warning: function 'filename' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/resource/ResourcePath.h:110:2: warning: function 'basename' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/resource/ResourcePath.h:116:2: warning: function 'ext' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/resource/ResourcePath.h:118:2: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/resource/ResourcePath.h:191:2: warning: function 'has_ext' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/resource/ResourcePath.h:193:2: warning: function 'is_up' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/io/resource/ResourcePath.h:198:2: warning: function 'has_info' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/math/Angle.h:64:2: warning: function 'getPitch' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/math/Angle.h:68:2: warning: function 'getYaw' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/math/Angle.h:72:2: warning: function 'getRoll' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/math/Angle.h:165:2: warning: function 'equalEps' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/math/RandomFlicker.h:54:2: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/math/Rectangle.h:87:2: warning: function 'width' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/math/Rectangle.h:91:2: warning: function 'height' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/math/Rectangle.h:123:2: warning: function 'contains' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/math/Rectangle.h:130:2: warning: function 'contains' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/math/Rectangle.h:137:2: warning: function 'contains' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/math/Rectangle.h:144:2: warning: function 'overlaps' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/math/Rectangle.h:184:2: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/math/Rectangle.h:188:2: warning: function 'isValid' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/math/Rectangle.h:193:2: warning: function 'topLeft' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/math/Rectangle.h:196:2: warning: function 'topCenter' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/math/Rectangle.h:199:2: warning: function 'topRight' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/math/Rectangle.h:203:2: warning: function 'centerLeft' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/math/Rectangle.h:206:2: warning: function 'center' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/math/Rectangle.h:209:2: warning: function 'centerRight' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/math/Rectangle.h:213:2: warning: function 'bottomLeft' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/math/Rectangle.h:216:2: warning: function 'bottomCenter' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/math/Rectangle.h:219:2: warning: function 'bottomRight' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/math/Rectangle.h:224:2: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/platform/Alignment.h:285:2: warning: function 'address' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/platform/Alignment.h:287:2: warning: function 'max_size' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/platform/Thread.h:135:2: warning: function 'isStopRequested' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/scene/Background.h:60:2: warning: function 'isTileActive' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/scene/Background.h:72:2: warning: function 'getTile' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/scene/Background.h:76:2: warning: function 'isTileValid' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/scene/Background.h:80:2: warning: function 'isInActiveTile' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/script/Script.h:429:2: warning: function 'getId' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/script/Script.h:430:2: warning: function 'getName' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/script/Script.h:432:2: warning: function 'toString' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/script/Script.h:434:2: warning: function 'toDisabledEventsMask' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/script/Script.h:463:2: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/script/Script.h:483:2: warning: function 'isPeekOnly' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/script/ScriptUtils.h:98:2: warning: function 'getStringVar' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/script/ScriptUtils.h:107:2: warning: function 'getSender' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/script/ScriptUtils.h:108:2: warning: function 'getEntity' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/script/ScriptUtils.h:109:2: warning: function 'getMessage' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/script/ScriptUtils.h:110:2: warning: function 'getParameters' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/script/ScriptUtils.h:111:2: warning: function 'getParameter' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/script/ScriptUtils.h:117:2: warning: function 'getFloatVar' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/script/ScriptUtils.h:130:2: warning: function 'getScript' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/script/ScriptUtils.h:132:2: warning: function 'getPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/script/ScriptUtils.h:170:2: warning: function 'getName' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/script/ScriptUtils.h:171:2: warning: function 'getEntityFlags' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/util/Flags.h:51:2: warning: function 'has' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/util/Flags.h:55:2: warning: function 'hasAll' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/util/Flags.h:59:2: warning: function 'except' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/util/HandleType.h:51:2: warning: function 'handleData' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/util/IteratedHash.h:159:2: warning: function 'bit_count_hi' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/util/IteratedHash.h:162:2: warning: function 'bit_count_lo' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/util/cmdline/CommandLineException.h:74:2: warning: function 'code' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/util/cmdline/Keys.h:83:2: warning: function 'get_description' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/util/cmdline/Keys.h:92:2: warning: function 'get_arg_count' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/util/cmdline/Keys.h:96:2: warning: function 'has_args' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/util/cmdline/Keys.h:105:2: warning: function 'get_arg_names' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/util/cmdline/Keys.h:109:2: warning: function 'has_arg_names' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/util/cmdline/Keys.h:118:2: warning: function 'is_arg_optional' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/util/cmdline/TypeCast.h:46:2: warning: function 'cast, std::basic_string>' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/util/cmdline/TypeCast.h:46:2: warning: function 'cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/util/cmdline/detail/LexicalCall.h:141:3: warning: function 'v_front' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/util/cmdline/detail/LexicalCall.h:143:3: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/util/cmdline/detail/LexicalCall.h:144:3: warning: function 'opt_empty' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/util/cmdline/detail/LexicalCall.h:166:3: warning: function 'v_front' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/util/cmdline/detail/LexicalCall.h:175:3: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/util/cmdline/detail/LexicalCall.h:179:3: warning: function 'opt_empty' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/window/Window.h:126:2: warning: function 'hasFocus' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/window/Window.h:129:2: warning: function 'isMinimized' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/window/Window.h:130:2: warning: function 'isMaximized' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/window/Window.h:131:2: warning: function 'isVisible' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/window/Window.h:133:2: warning: function 'getPosition' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/window/Window.h:134:2: warning: function 'getSize' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/window/Window.h:135:2: warning: function 'getDisplayMode' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/src/window/Window.h:137:2: warning: function 'isFullScreen' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/ErrorReport.h:71:2: warning: function 'GetErrorDescription' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/ErrorReport.h:72:2: warning: function 'GetIssueLink' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/ErrorReport.h:74:2: warning: function 'getFailedFiles' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/qhexedit/Commands.h:59:2: warning: function 'id' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/qhexedit/QHexEdit.h:174:2: warning: function 'font' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/qhexedit/QHexEditPrivate.h:43:2: warning: function 'addressAreaColor' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/qhexedit/QHexEditPrivate.h:46:2: warning: function 'addressOffset' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/qhexedit/QHexEditPrivate.h:49:2: warning: function 'cursorPos' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/qhexedit/QHexEditPrivate.h:55:2: warning: function 'highlightingColor' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/qhexedit/QHexEditPrivate.h:58:2: warning: function 'overwriteMode' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/qhexedit/QHexEditPrivate.h:61:2: warning: function 'isReadOnly' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/qhexedit/QHexEditPrivate.h:64:2: warning: function 'selectionColor' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/qhexedit/QHexEditPrivate.h:102:2: warning: function 'cursorPos' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/qhexedit/QHexEditPrivate.h:109:2: warning: function 'getSelectionBegin' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/qhexedit/QHexEditPrivate.h:110:2: warning: function 'getSelectionEnd' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/qhexedit/XByteArray.h:46:2: warning: function 'addressOffset' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/qhexedit/XByteArray.h:49:2: warning: function 'addressWidth' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/tbg/HTTPClient.h:62:2: warning: function 'url' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/tbg/HTTPClient.h:66:2: warning: function 'followRedirects' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/tbg/HTTPClient.h:109:2: warning: function 'data' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/tbg/HTTPClient.h:113:2: warning: function 'contentType' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/tbg/HTTPClient.h:138:2: warning: function 'status' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/tbg/HTTPClient.h:141:2: warning: function 'ok' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/tbg/HTTPClient.h:144:2: warning: function 'error' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/tbg/HTTPClient.h:147:2: warning: function 'data' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/tbg/HTTPClient.h:158:2: warning: function 'url' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/tbg/TBG.h:69:2: warning: function 'getErrorString' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/ui/ErrorReportDialog.h:55:2: warning: function 'getErrorString' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/ui/ErrorReportDialog.h:56:2: warning: function 'getDetailedErrorString' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/ui/ErrorReportDialog.h:149:2: warning: function 'rowCount' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/ui/ErrorReportDialog.h:153:2: warning: function 'data' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/ui/ErrorReportDialog.h:182:2: warning: function 'headerData' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/crashreporter/ui/ErrorReportDialog.h:192:2: warning: function 'flags' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/profiler/ui/ArxProfiler.cpp:179:2: warning: function 'type' should be marked [[nodiscard]] [modernize-use-nodiscard] -Arx/tools/profiler/ui/ArxProfiler.h:86:2: warning: function 'viewCenter' should be marked [[nodiscard]] [modernize-use-nodiscard]