summaryrefslogtreecommitdiffstats
path: root/logging_test.cpp
diff options
context:
space:
mode:
authorDeepak Kodihalli <dkodihal@in.ibm.com>2017-03-15 09:19:34 -0500
committerDeepak Kodihalli <dkodihal@in.ibm.com>2017-03-15 09:20:13 -0500
commit98a1834c461836302bd3c0bc66cc4f6e1e55cd57 (patch)
treedae7f7043ea04fecc5e3341d7fbfcbdc370ee12b /logging_test.cpp
parente0eb1dddb5d5975bb867767a4cbfa652b5792e79 (diff)
downloadphosphor-logging-98a1834c461836302bd3c0bc66cc4f6e1e55cd57.tar.gz
phosphor-logging-98a1834c461836302bd3c0bc66cc4f6e1e55cd57.zip
Fix incorrect error namespace
Change-Id: I65894c7acfa75f4601f43de2595e0f1fda89c0bb Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Diffstat (limited to 'logging_test.cpp')
-rw-r--r--logging_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/logging_test.cpp b/logging_test.cpp
index 2260861..f9d9739 100644
--- a/logging_test.cpp
+++ b/logging_test.cpp
@@ -210,12 +210,12 @@ void commitError(const char *text)
try
{
elog<example::xyz::openbmc_project::Example::Elog::
- Error::AutoTestSimple>(
+ AutoTestSimple>(
example::xyz::openbmc_project::Example::Elog::
- Error::AutoTestSimple::STRING("FOO"));
+ AutoTestSimple::STRING("FOO"));
}
catch (elogException<example::xyz::openbmc_project::Example::Elog::
- Error::AutoTestSimple>& e)
+ AutoTestSimple>& e)
{
std::cout << "elog exception caught: " << e.what() << std::endl;
commit(e.name());
OpenPOWER on IntegriCloud