catch exceptions as const
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Id5a06698ddd6f91510a34aaf9df535bd34c099c0
diff --git a/test/associations_test.cpp b/test/associations_test.cpp
index 7da4a20..5fa95c3 100644
--- a/test/associations_test.cpp
+++ b/test/associations_test.cpp
@@ -177,7 +177,7 @@
Manager m{bus};
EXPECT_TRUE(false);
}
- catch (std::exception& e)
+ catch (const std::exception& e)
{}
}
@@ -249,7 +249,7 @@
EXPECT_TRUE(false);
}
- catch (std::exception& e)
+ catch (const std::exception& e)
{}
}
@@ -263,7 +263,7 @@
EXPECT_TRUE(false);
}
- catch (std::exception& e)
+ catch (const std::exception& e)
{}
}
@@ -277,7 +277,7 @@
EXPECT_TRUE(false);
}
- catch (std::exception& e)
+ catch (const std::exception& e)
{}
}
@@ -291,6 +291,6 @@
EXPECT_TRUE(false);
}
- catch (std::exception& e)
+ catch (const std::exception& e)
{}
}