Skip to content

v0.2.52..v0.2.53 changeset ServicesDbTestUtils.cpp

Garret Voltz edited this page Feb 12, 2020 · 1 revision
diff --git a/hoot-core-test/src/test/cpp/hoot/core/io/ServicesDbTestUtils.cpp b/hoot-core-test/src/test/cpp/hoot/core/io/ServicesDbTestUtils.cpp
index 23b5d4a..12cec19 100644
--- a/hoot-core-test/src/test/cpp/hoot/core/io/ServicesDbTestUtils.cpp
+++ b/hoot-core-test/src/test/cpp/hoot/core/io/ServicesDbTestUtils.cpp
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2013, 2014, 2015, 2016, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 
 #include "ServicesDbTestUtils.h"
@@ -46,6 +46,8 @@
 // Tgs
 #include <tgs/StreamUtils.h>
 
+#ifdef HOOT_HAVE_SERVICES
+
 using namespace std;
 using namespace Tgs;
 
@@ -364,3 +366,4 @@ std::shared_ptr<HootNetworkCookieJar> ServicesDbTestUtils::getTestSessionCookie(
 
 }
 
+#endif  // HOOT_HAVE_SERVICES
Clone this wiki locally