summaryrefslogtreecommitdiffstats
path: root/config.tests
diff options
context:
space:
mode:
authorJüri Valdmann <juri.valdmann@qt.io>2018-11-05 12:49:53 +0100
committerJüri Valdmann <juri.valdmann@qt.io>2018-11-06 12:09:29 +0000
commit160b43c181bd23f7d1ef8d8b8bfa28f3762d8144 (patch)
treea459f58f3548c0eaafd8f8acac38a41310c282e0 /config.tests
parent39c6f4cea4f2a9eeafcbaa9dc5659c5d8c0d0347 (diff)
Fix building tst_dialogs against libc++
Linking fails if re2 was built against libstdc++. Change-Id: I69868ff284c8d23ccd7219f4da6ec750ff7674b9 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/re2/re2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.tests/re2/re2.cpp b/config.tests/re2/re2.cpp
index f2c0b017..bd3b80a8 100644
--- a/config.tests/re2/re2.cpp
+++ b/config.tests/re2/re2.cpp
@@ -30,6 +30,7 @@
int main(int, char **)
{
- RE2 re2("dummytest");
+ std::string s("dummytest");
+ RE2 re2(s);
return 0;
}