From: Yehuda Sadeh Date: Tue, 26 Nov 2019 20:54:14 +0000 (-0800) Subject: rgw: remove a #warning with a comment X-Git-Tag: v15.1.0~22^2~40 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e87533d2e15882761ba869cfbc68bd6fbb11a2e2;p=ceph.git rgw: remove a #warning with a comment It's a nice to have, not crucial Signed-off-by: Yehuda Sadeh --- diff --git a/src/rgw/rgw_bucket_sync.cc b/src/rgw/rgw_bucket_sync.cc index 6ce7341b4173..f54e3476ab56 100644 --- a/src/rgw/rgw_bucket_sync.cc +++ b/src/rgw/rgw_bucket_sync.cc @@ -404,7 +404,9 @@ bool RGWBucketSyncFlowManager::pipe_rules::find_obj_params(const rgw_obj_key& ke std::optional priority; for (; iter != end; ++iter) { -#warning this is not the most efficient way to do it, need trie maybe + /* NOTE: this is not the most efficient way to do it, + * a trie data structure would be better + */ auto& prefix = iter->first; if (!boost::starts_with(key.name, prefix)) { continue;