diff --git a/src/common/StackContainer.h b/src/common/StackContainer.h index 0e9667e310..be3cf32d0d 100644 --- a/src/common/StackContainer.h +++ b/src/common/StackContainer.h @@ -172,13 +172,11 @@ class StackContainer { return &container_; } -#ifdef UNIT_TEST // Retrieves the stack source so that that unit tests can verify that the // buffer is being used properly. const typename Allocator::Source& stack_data() const { return stack_data_; } -#endif protected: typename Allocator::Source stack_data_; diff --git a/src/tests/unittests/StackContainerTests.cpp b/src/tests/unittests/StackContainerTests.cpp index adba4fabb7..cb4cea69fc 100644 --- a/src/tests/unittests/StackContainerTests.cpp +++ b/src/tests/unittests/StackContainerTests.cpp @@ -6,8 +6,6 @@ #include -#define UNIT_TEST - #include "common/RefCounted.h" #include "common/StackContainer.h"