From 9174bca3f76dd0f5d82e0192bb6212e89c158a17 Mon Sep 17 00:00:00 2001 From: kkulling Date: Tue, 12 Jan 2021 10:01:53 +0100 Subject: [PATCH] closes https://github.com/assimp/assimp/issues/3517: use const instead of constexpr --- code/AssetLib/AC/ACLoader.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/AssetLib/AC/ACLoader.h b/code/AssetLib/AC/ACLoader.h index 92a5114f1..c0bf97866 100644 --- a/code/AssetLib/AC/ACLoader.h +++ b/code/AssetLib/AC/ACLoader.h @@ -4,7 +4,6 @@ Open Asset Import Library (assimp) Copyright (c) 2006-2020, assimp team - All rights reserved. Redistribution and use of this software in source and binary forms, @@ -117,7 +116,7 @@ public: Mask = 0xf, }; - inline constexpr uint8_t GetType() const { return (flags & Mask); } + inline const uint8_t GetType() const { return (flags & Mask); } }; // Represents an AC3D object