summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-09-21 12:05:25 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-09-21 12:07:42 +0200
commit4c657f5a1a340ec9afe795d911625991f6a9cf7a (patch)
tree1b93c7b332195ca8f2eb87863ed69eec7e95c74c
parentd66d6d70591049ccf99f22d3f52e85f26dbfe433 (diff)
Properly #if these debug hooks feature/chained-text-boxes
...moved here with 6fbab2ce87372bd98275d8239cd782d0ca6375e8 "loplugin:unreffun"; this file still indirectly includes boost/scoped_ptr.hpp via. boost/spirit Change-Id: Ib2f251420950395f58415c1f7c944b7e8fd61476
-rw-r--r--slideshow/source/engine/smilfunctionparser.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/slideshow/source/engine/smilfunctionparser.cxx b/slideshow/source/engine/smilfunctionparser.cxx
index 3cc64da68f8f..2dd955ff4a18 100644
--- a/slideshow/source/engine/smilfunctionparser.cxx
+++ b/slideshow/source/engine/smilfunctionparser.cxx
@@ -626,6 +626,8 @@ namespace slideshow
}
}
+#if defined(BOOST_SP_ENABLE_DEBUG_HOOKS)
+
// debug hooks
namespace boost
@@ -641,4 +643,6 @@ void sp_scalar_destructor_hook(void *)
}
+#endif
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */