From f9ad14dc2d0a7007413fa6cbde4c9a694446b0a4 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Sat, 26 Nov 2011 22:26:47 +0100 Subject: TOON: Clean up Common::String usage Thanks to Sylvain for testing. --- engines/toon/hotspot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/toon/hotspot.cpp') diff --git a/engines/toon/hotspot.cpp b/engines/toon/hotspot.cpp index ee81b87417..ce2cdf1bb9 100644 --- a/engines/toon/hotspot.cpp +++ b/engines/toon/hotspot.cpp @@ -96,7 +96,7 @@ int32 Hotspots::Find(int32 x, int32 y) { return foundId; } -bool Hotspots::LoadRif(Common::String rifName, Common::String additionalRifName) { +bool Hotspots::LoadRif(const Common::String &rifName, const Common::String &additionalRifName) { debugC(1, kDebugHotspot, "LoadRif(%s, %s)", rifName.c_str(), additionalRifName.c_str()); uint32 size = 0; -- cgit v1.2.3