aboutsummaryrefslogtreecommitdiff
path: root/include/ResourceCache.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/ResourceCache.hpp')
-rw-r--r--include/ResourceCache.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ResourceCache.hpp b/include/ResourceCache.hpp
index 7361862..de35500 100644
--- a/include/ResourceCache.hpp
+++ b/include/ResourceCache.hpp
@@ -17,7 +17,7 @@ namespace dchat
{
public:
// Throws FailedToLoadResourceException on failure
- static const sf::Font& getFont(const std::string &filepath);
+ static const sf::Font* getFont(const std::string &filepath);
// Throws FailedToLoadResourceException on failure
static sf::Texture* getTexture(const std::string &filepath);