Procházet zdrojové kódy

Remove inline keyword for a couple methods not defined in headers

Marc Legendre před 9 roky
rodič
revize
a493fc48d2

+ 2 - 2
Source/BansheeCore/Include/BsGameObjectHandle.h

@@ -133,7 +133,7 @@ namespace BansheeEngine
 		GameObjectHandleBase(std::nullptr_t ptr);
 		GameObjectHandleBase(std::nullptr_t ptr);
 
 
 		/**	Throws an exception if the referenced GameObject has been destroyed. */
 		/**	Throws an exception if the referenced GameObject has been destroyed. */
-		inline void throwIfDestroyed() const;
+		void throwIfDestroyed() const;
 		
 		
 		/**	Invalidates the handle signifying the referenced object was destroyed. */
 		/**	Invalidates the handle signifying the referenced object was destroyed. */
 		void destroy()
 		void destroy()
@@ -288,4 +288,4 @@ namespace BansheeEngine
 	}
 	}
 
 
 	/** @} */
 	/** @} */
-}
+}

+ 2 - 2
Source/BansheeCore/Include/BsResourceHandle.h

@@ -106,7 +106,7 @@ namespace BansheeEngine
 		static Mutex mResourceCreatedMutex;
 		static Mutex mResourceCreatedMutex;
 
 
 	protected:
 	protected:
-		inline void throwIfNotLoaded() const;
+		void throwIfNotLoaded() const;
 	};
 	};
 
 
 	/**
 	/**
@@ -391,4 +391,4 @@ namespace BansheeEngine
 	}
 	}
 
 
 	/** @} */
 	/** @} */
-}
+}