From 4786a485dfdf628e5060476d2b0f8b25accc40ff Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Fri, 13 Jun 2014 13:01:15 +0200 Subject: [PATCH] osd: remove non const get_erasure_code_profile It is not used and will unexpectedly create a new entry if selected when the const version is intended. Signed-off-by: Loic Dachary --- src/osd/OSDMap.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/osd/OSDMap.h b/src/osd/OSDMap.h index fcb3e26d847ac..e3ac29a110704 100644 --- a/src/osd/OSDMap.h +++ b/src/osd/OSDMap.h @@ -394,9 +394,6 @@ public: else return i->second; } - map &get_erasure_code_profile(const string &name) { - return erasure_code_profiles[name]; - } const map > &get_erasure_code_profiles() const { return erasure_code_profiles; } -- 2.39.5