Fix compilation issue 05/31305/1
authorPiotr Bartosiewicz <p.bartosiewi@partner.samsung.com>
Wed, 3 Dec 2014 16:03:43 +0000 (17:03 +0100)
committerPiotr Bartosiewicz <p.bartosiewi@partner.samsung.com>
Wed, 3 Dec 2014 16:03:43 +0000 (17:03 +0100)
[Bug/Feature]   Code does not compile under gcc 4.6
[Cause]         N/A
[Solution]      N/A
[Verification]  Build

Change-Id: I883ae5c04de5dafd690e4ac2c1956780f8d20725

common/lxc/domain.cpp

index 089799d..24453a6 100644 (file)
@@ -79,6 +79,7 @@ std::string LxcDomain::toString(State state)
     CASE(THAWED)
     }
 #undef CASE
+    throw LxcException("Invalid state");
 }
 
 LxcDomain::LxcDomain(const std::string& lxcPath, const std::string& domainName)