You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2022/06/24 00:57:59 UTC
[doris] branch master updated: [typo] Fix typos in comments (#10252)
This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 1bd0d7ded5 [typo] Fix typos in comments (#10252)
1bd0d7ded5 is described below
commit 1bd0d7ded5681f59b240f6fd1354b93452e0cf69
Author: yinzhijian <37...@qq.com>
AuthorDate: Fri Jun 24 08:57:54 2022 +0800
[typo] Fix typos in comments (#10252)
---
be/src/util/binary_cast.hpp | 2 +-
be/src/util/file_utils.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/be/src/util/binary_cast.hpp b/be/src/util/binary_cast.hpp
index e8f883f37c..077885482b 100644
--- a/be/src/util/binary_cast.hpp
+++ b/be/src/util/binary_cast.hpp
@@ -48,7 +48,7 @@ union DecimalInt128Union {
static_assert(sizeof(DecimalV2Value) == sizeof(PackedInt128));
static_assert(sizeof(DecimalV2Value) == sizeof(__int128_t));
-// we need provide a destructor becase DateTimeValue was not a pod type
+// we need provide a destructor because DateTimeValue was not a pod type
// DateTimeValue won't alloc any extra memory, so we don't have to call
// DateTimeValue::~DateTimeValue()
union DateTimeInt128Union {
diff --git a/be/src/util/file_utils.h b/be/src/util/file_utils.h
index 0bef9ce4a9..ae64c93dab 100644
--- a/be/src/util/file_utils.h
+++ b/be/src/util/file_utils.h
@@ -68,7 +68,7 @@ public:
std::set<std::string>* files, Env* env);
// Get the number of children belong to the specified directory, this
- // funciton also exclude '.' and '..'.
+ // function also exclude '.' and '..'.
// Return OK with *count is set to the count, if execute successful.
static Status get_children_count(Env* env, const std::string& dir, int64_t* count);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org