Made libPtr param const. Doesn't get modified so why not.

Also removed some unneccessary code (for now)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40707
This commit is contained in:
Scott Ehlert
2007-04-20 18:50:52 +00:00
parent efa6067669
commit 199d839122
3 changed files with 7 additions and 12 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ namespace SourceMod
* @param len Size of the pattern in bytes.
* @return Pointer to pattern found in memory, NULL if not found.
*/
virtual void *FindPattern(void *libPtr, const char *pattern, size_t len) =0;
virtual void *FindPattern(const void *libPtr, const char *pattern, size_t len) =0;
};
}