Fix building the package with GCC-4.8
authorGrzegorz Rynkowski <g.rynkowski@samsung.com>
Mon, 9 Sep 2013 09:37:29 +0000 (11:37 +0200)
committerGrzegorz Rynkowski <g.rynkowski@samsung.com>
Mon, 9 Sep 2013 09:47:08 +0000 (11:47 +0200)
[Problem]      The package cannot be built with gcc-4.8.
[Verification] Build package both with current (GCC-4.5) and (GCC-4.8) version of compiler.

Change-Id: I4e9df80e4822aa85948ea6d74da8ef3a6cc3c096

src/Commons/WrtAccess/WrtAccess.h

index c274534..18893a0 100644 (file)
@@ -31,6 +31,7 @@ namespace WrtDeviceApis {
 namespace Commons {
 class WrtAccess
 {
+ public:
     enum CheckAccessReturnType
     {
         CHECK_ACCESS_GRANTED,
@@ -39,7 +40,6 @@ class WrtAccess
         CHECK_ACCESS_INTERNAL_ERROR
     };
 
-  public:
     void initialize(int widgetId);
     void deinitialize(int widgetId);
     int getWidgetId() const;