From 30a584741e22ccb9536499ccad711d4096e59542 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 1 Oct 2012 18:35:22 +0200 Subject: [PATCH] Fixed compilation with Clang. --- src/ResourceManager.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ResourceManager.h b/src/ResourceManager.h index c355aeb86..27898efe0 100644 --- a/src/ResourceManager.h +++ b/src/ResourceManager.h @@ -55,14 +55,14 @@ enum class ResourceDataState { * the data are accessed, but allows changing the data for e.g. debugging * purposes. */ - Mutable = ResourceState::Mutable, + Mutable = int(ResourceState::Mutable), /** * The resource cannot be changed by the manager in the future. This is * faster, as Resource instances will ask for the data only one time, thus * suitable for production code. */ - Final = ResourceState::Final + Final = int(ResourceState::Final) }; /**