[cpp-xmltooling] branch master updated: Fix test compile on Mac.
Scott Cantor
cantor.2 at osu.edu
Wed Apr 11 19:26:55 EDT 2018
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository cpp-xmltooling.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-xmltooling.git;a=commit;h=d071bccecf54a3837ffe4c2943e6eef85e6e6196
The following commit(s) were added to refs/heads/master by this push:
new d071bcc Fix test compile on Mac.
d071bcc is described below
commit d071bccecf54a3837ffe4c2943e6eef85e6e6196
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Apr 11 19:26:51 2018 -0400
Fix test compile on Mac.
---
xmltoolingtest/DirectoryWalkerTest.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/xmltoolingtest/DirectoryWalkerTest.h b/xmltoolingtest/DirectoryWalkerTest.h
index 641c063..7115859 100644
--- a/xmltoolingtest/DirectoryWalkerTest.h
+++ b/xmltoolingtest/DirectoryWalkerTest.h
@@ -26,6 +26,8 @@
using namespace xmltooling::logging;
+static void counting_callback(const char* pathname, struct stat& stat_buf, void* data);
+
class DirectoryWalkerTest : public CxxTest::TestSuite {
unsigned int m_count;
Category& m_log;
@@ -83,7 +85,7 @@ public:
}
};
-static void counting_callback(const char* pathname, struct stat& stat_buf, void* data) {
+void counting_callback(const char* pathname, struct stat& stat_buf, void* data) {
if (!strstr(pathname, ".gitkeep"))
reinterpret_cast<DirectoryWalkerTest*>(data)->m_count++;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list