From e679f49e233e8520b876bbefddb825243f87f874 Mon Sep 17 00:00:00 2001 From: David Mott Date: Sat, 2 Jul 2016 06:30:22 -0500 Subject: [PATCH] try excluding xtd.hpp from the dummy library to see if it will fix sonar duplicate file scan error --- tests/dummy_library.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/dummy_library.cpp b/tests/dummy_library.cpp index 718399e..bca9e4c 100644 --- a/tests/dummy_library.cpp +++ b/tests/dummy_library.cpp @@ -2,9 +2,9 @@ * @copyright David Mott (c) 2016. Distributed under the Boost Software License Version 1.0. See LICENSE.md or http://boost.org/LICENSE_1_0.txt for details. */ -#include +//#include extern "C" { - EXPORT int Add(int x, int y){ return x + y; } - EXPORT const char *Echo(const char *src){ return src; } + int Add(int x, int y){ return x + y; } + const char *Echo(const char *src){ return src; } }