aboutsummaryrefslogtreecommitdiff
path: root/tests/gtest-gvariant.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2015-02-12 16:18:08 -0600
committerTed Gould <ted@gould.cx>2015-02-12 16:18:08 -0600
commit415bca4595a4d24253b543b598c501abe5ba8949 (patch)
treedefa598a2cf9d38847fee2b4aa72b72e6069a72a /tests/gtest-gvariant.h
parenta5037dcedc828117f2a81e56c71913a5c7ef9b46 (diff)
downloadayatana-indicator-sound-415bca4595a4d24253b543b598c501abe5ba8949.tar.gz
ayatana-indicator-sound-415bca4595a4d24253b543b598c501abe5ba8949.tar.bz2
ayatana-indicator-sound-415bca4595a4d24253b543b598c501abe5ba8949.zip
Remove unnecissary parameter list
Diffstat (limited to 'tests/gtest-gvariant.h')
-rw-r--r--tests/gtest-gvariant.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gtest-gvariant.h b/tests/gtest-gvariant.h
index 5a24dfa..6f93906 100644
--- a/tests/gtest-gvariant.h
+++ b/tests/gtest-gvariant.h
@@ -75,7 +75,7 @@ testing::AssertionResult expectVariantEqual (const gchar * expectStr, const gcha
testing::AssertionResult expectVariantEqual (const gchar * expectStr, const gchar * haveStr, const char * expect, std::shared_ptr<GVariant> have)
{
- auto expectv = std::shared_ptr<GVariant>([expect]() {
+ auto expectv = std::shared_ptr<GVariant>([expect] {
auto variant = g_variant_parse(nullptr, expect, nullptr, nullptr, nullptr);
if (variant != nullptr)
g_variant_ref_sink(variant);