Merge "Fix IME (key input) issues on Text control" into devel/master
[platform/core/uifw/dali-adaptor.git] / adaptors / ubuntu / vsync-monitor-ubuntu.cpp
index 4379025..af8d4c9 100644 (file)
@@ -37,6 +37,9 @@ namespace Adaptor
 
 namespace
 {
+// constants to keep code readability with unsigned int has to be used as boolean (due to multithreading)
+const unsigned int TRUE = 1u;
+const unsigned int FALSE = 0u;
 
 const int FD_NONE( -1 );
 
@@ -44,8 +47,8 @@ const int FD_NONE( -1 );
 
 VSyncMonitor::VSyncMonitor()
 : mFileDescriptor( FD_NONE ),
-  mUseHardwareVSync( false ),
-  mHardwareVSyncAvailable( false )
+  mUseHardwareVSync( FALSE ),
+  mHardwareVSyncAvailable( FALSE )
 {
 }