Changeset - r27577:c9f31f5e72c3
[Not reviewed]
master
0 1 0
Rubidium - 15 months ago 2023-06-13 13:56:38
rubidium@openttd.org
Cleanup: unused GetDataPointer function
1 file changed with 0 insertions and 6 deletions:
0 comments (0 inline, 0 general)
src/strings_func.h
Show inline comments
 
@@ -120,18 +120,12 @@ public:
 
	/** Read an int32 from the argument array. @see GetInt64. */
 
	int32 GetInt32(WChar type = 0)
 
	{
 
		return (int32)this->GetInt64(type);
 
	}
 

	
 
	/** Get a pointer to the current element in the data array. */
 
	uint64 *GetDataPointer() const
 
	{
 
		return &this->data[this->offset];
 
	}
 

	
 
	/**
 
	 * Get a new instance of StringParameters that is a "range" into the
 
	 * parameters existing parameters. Upon destruction the offset in the parent
 
	 * is not updated. However, calls to SetDParam do update the parameters.
 
	 *
 
	 * The returned StringParameters must not outlive this StringParameters.
0 comments (0 inline, 0 general)