Valentin Shergin cb7a7f3b93 Fabric: Deleted virtual default destructor from Props
Summary: Trivial. We don't need this because we already have another virtual method.

Reviewed By: fkgozali

Differential Revision: D7388964

fbshipit-source-id: 5ea6eb33ece72796d8cde2cc4b12c1240447d22a
2018-03-25 22:48:18 -07:00

41 lines
779 B
C++

/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <folly/dynamic.h>
#include <fabric/core/Sealable.h>
#include <fabric/core/ReactPrimitives.h>
#include <fabric/debug/DebugStringConvertible.h>
namespace facebook {
namespace react {
class Props;
using SharedProps = std::shared_ptr<const Props>;
/*
* Represents the most generic props object.
*/
class Props:
public virtual Sealable,
public virtual DebugStringConvertible {
public:
virtual void apply(const RawProps &rawProps);
const std::string &getNativeId() const;
private:
std::string nativeId_ {""};
};
} // namespace react
} // namespace facebook