summaryrefslogtreecommitdiff
path: root/src/network/network_content.h
diff options
context:
space:
mode:
authorHenry Wilson <m3henry@googlemail.com>2019-02-20 21:35:41 +0000
committerPeterN <peter@fuzzle.org>2019-03-26 20:15:57 +0000
commit297fd3dda3abe353ebe2fe77c67b011e24d403bc (patch)
tree916615e2c4e8eaeed982b9293bea3b76a0a29374 /src/network/network_content.h
parent2bc2de9034d3b75a253b849cf7a703b1a503e200 (diff)
downloadopenttd-297fd3dda3abe353ebe2fe77c67b011e24d403bc.tar.xz
Codechange: Replaced SmallVector::Include() with include()
Diffstat (limited to 'src/network/network_content.h')
-rw-r--r--src/network/network_content.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_content.h b/src/network/network_content.h
index 7cce7fc0a..08e7755aa 100644
--- a/src/network/network_content.h
+++ b/src/network/network_content.h
@@ -140,7 +140,7 @@ public:
void Clear();
/** Add a callback to this class */
- void AddCallback(ContentCallback *cb) { this->callbacks.Include(cb); }
+ void AddCallback(ContentCallback *cb) { include(this->callbacks, cb); }
/** Remove a callback */
void RemoveCallback(ContentCallback *cb) { this->callbacks.erase(std::find(this->callbacks.begin(), this->callbacks.end(), cb)); }
};