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:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user