Commit fd9ac932 authored by Dan Melnic's avatar Dan Melnic Committed by Facebook Github Bot

Fix undefined reference linker error

Summary: Fix a dbgo-asan undefined reference to 'folly::detail::BufferedStat<folly::TDigest, std::chrono::_V2::steady_clock>::flush()' linker error

Reviewed By: yfeldblum

Differential Revision: D10458537

fbshipit-source-id: 8846440494e83955a43f9d4477885521f34ae7f9
parent d58fe683
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
#pragma once #pragma once
#include <folly/stats/TDigest.h> #include <folly/stats/detail/BufferedStatTDigest.h>
#include <folly/stats/detail/BufferedStat.h>
namespace folly { namespace folly {
......
/*
* Copyright 2018-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <folly/stats/detail/BufferedStatTDigest.h>
#include <folly/stats/detail/BufferedStat-defs.h>
namespace folly {
namespace detail {
template class BufferedStat<TDigest, std::chrono::steady_clock>;
} // namespace detail
} // namespace folly
/*
* Copyright 2018-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#pragma once
#include <folly/stats/TDigest.h>
#include <folly/stats/detail/BufferedStat.h>
namespace folly {
namespace detail {
extern template class BufferedStat<TDigest, std::chrono::steady_clock>;
} // namespace detail
} // namespace folly
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment