Remove the weak pointer in the header files 31/174131/1
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Wed, 28 Mar 2018 10:35:14 +0000 (19:35 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Wed, 28 Mar 2018 10:37:07 +0000 (19:37 +0900)
- Removed the __attribute__((weak)) from the header files,
  because this attribute should only be in the cpp files.

Change-Id: Iad1242a15ef48fabf0de522f0ad204af75c4975f
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
dali/internal/accessibility/common/tts-player-factory.h
dali/internal/imaging/common/native-image-source-factory.h
dali/internal/input/common/imf-manager-factory.h
dali/internal/sensor/common/tilt-sensor-factory.h

index 8bf0e78..aac8e85 100644 (file)
@@ -37,7 +37,7 @@ namespace TtsPlayerFactory
  * Factory function that ought to be overriden by platform implementation.
  * @return
  */
-__attribute__((weak)) std::unique_ptr<TtsPlayer> New(Dali::TtsPlayer::Mode mode);
+std::unique_ptr<TtsPlayer> New(Dali::TtsPlayer::Mode mode);
 
 } // namespace TtsPlayerFactory
 
index 3f3d759..8c9d7d3 100644 (file)
@@ -32,7 +32,6 @@ class NativeImageSource;
 namespace NativeImageSourceFactory
 {
 
-__attribute__((weak))
 std::unique_ptr<Internal::Adaptor::NativeImageSource> New(unsigned int width,
                                        unsigned int height,
                                        Dali::NativeImageSource::ColorDepth depth,
index d3e6660..ac3dee7 100644 (file)
@@ -33,7 +33,6 @@ namespace ImfManagerFactory
 
 // Factory function creating new IMFManager
 // Symbol exists but may be overriden during linking
-__attribute__((weak))
 Dali::ImfManager CreateImfManager();
 
 }
index 25d94f7..fe7ec28 100644 (file)
@@ -35,7 +35,7 @@ namespace TiltSensorFactory
  * Creates new instance of tilt sensor implementation
  * @return pointer to tilt sensor implementation instance
  */
-__attribute__((weak)) Dali::Internal::Adaptor::TiltSensor* Create();
+Dali::Internal::Adaptor::TiltSensor* Create();
 
 /**
  * Obtains existing or creates new instance of the tilt sensor