This is an automated email from the ASF dual-hosted git repository.
wwbmmm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brpc.git
The following commit(s) were added to refs/heads/master by this push:
new 2453cd8d Fix comment typo in DataFactory (#2181)
2453cd8d is described below
commit 2453cd8dc7400ab6e404d026797f1eae2128900f
Author: Bright Chen <[email protected]>
AuthorDate: Tue Mar 28 09:42:32 2023 +0800
Fix comment typo in DataFactory (#2181)
---
src/brpc/data_factory.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/brpc/data_factory.h b/src/brpc/data_factory.h
index a0950f81..5733073a 100644
--- a/src/brpc/data_factory.h
+++ b/src/brpc/data_factory.h
@@ -41,7 +41,7 @@ public:
// Returns
// true: the data can be kept for future reuse
// false: the data is improper to be reused and should be sent to
- // DestoryData() immediately after calling this method
+ // DestroyData() immediately after calling this method
virtual bool ResetData(void*) const { return true; }
};
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]