Fix constexpr on VS 2015

This commit is contained in:
John Zhao 2018-08-04 14:05:19 +08:00
parent 3258e969ee
commit 8ab9b42896
2 changed files with 4 additions and 1 deletions

View File

@ -21,6 +21,9 @@
MYNTEYE_BEGIN_NAMESPACE
const char DisparityNormalizedProcessor::NAME[] =
"DisparityNormalizedProcessor";
DisparityNormalizedProcessor::DisparityNormalizedProcessor(
std::int32_t proc_period)
: Processor(std::move(proc_period)) {

View File

@ -23,7 +23,7 @@ MYNTEYE_BEGIN_NAMESPACE
class DisparityNormalizedProcessor : public Processor {
public:
static constexpr auto &&NAME = "DisparityNormalizedProcessor";
static const char NAME[];
explicit DisparityNormalizedProcessor(std::int32_t proc_period = 0);
virtual ~DisparityNormalizedProcessor();