From 1b846e5c49695251d97aaf3c1e2af4af12bb404d Mon Sep 17 00:00:00 2001
From: Piotr Bartosiewicz
Date: Wed, 3 Dec 2014 17:03:43 +0100
Subject: [PATCH] Fix compilation issue
[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 | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/lxc/domain.cpp b/common/lxc/domain.cpp
index 089799d..24453a6 100644
--- a/common/lxc/domain.cpp
+++ b/common/lxc/domain.cpp
@@ -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)
--
2.7.4