[3.0] Downgrade warning level of deprecated PropertyMap
[platform/core/uifw/dali-core.git] / dali / public-api / object / property-map.cpp
index f6d7775..ec30ce9 100644 (file)
@@ -18,6 +18,9 @@
 // CLASS HEADER
 #include <dali/public-api/object/property-map.h>
 
+// EXTERNAL INCLUDES
+#include <dali/integration-api/debug.h>
+
 // INTERNAL INCLUDES
 #include <dali/public-api/common/vector-wrapper.h>
 
@@ -90,6 +93,8 @@ Property::Value& Property::Map::GetValue( SizeType position ) const
 
 const std::string& Property::Map::GetKey( SizeType position ) const
 {
+  DALI_LOG_WARNING( "DEPRECATION WARNING: GetKey() is due to be deprecated in the next release.\n" );
+
   DALI_ASSERT_ALWAYS( position < mImpl->mStringValueContainer.size() && "position out-of-bounds" );
 
   return mImpl->mStringValueContainer[ position ].first;
@@ -97,6 +102,8 @@ const std::string& Property::Map::GetKey( SizeType position ) const
 
 StringValuePair& Property::Map::GetPair( SizeType position ) const
 {
+  DALI_LOG_WARNING( "DEPRECATION WARNING: GetPair() is due to be deprecated in the next release.\n" );
+
   DALI_ASSERT_ALWAYS( position < mImpl->mStringValueContainer.size() && "position out-of-bounds" );
 
   return mImpl->mStringValueContainer[ position ];