Fixes for windows

Seems like a default constructor for KeyInfoEntry() is needed
release/4.3a0
balderdash-devil 2014-06-20 14:28:18 -04:00
parent 3bacdbbec5
commit f5b3c75133
2 changed files with 2 additions and 1 deletions

View File

@ -104,6 +104,7 @@ namespace gtsam {
class GTSAM_EXPORT KeyInfoEntry : public boost::tuple<size_t, size_t, size_t> { class GTSAM_EXPORT KeyInfoEntry : public boost::tuple<size_t, size_t, size_t> {
public: public:
typedef boost::tuple<Key,size_t,Key> Base; typedef boost::tuple<Key,size_t,Key> Base;
KeyInfoEntry(){}
KeyInfoEntry(size_t idx, size_t d, Key start) : Base(idx, d, start) {} KeyInfoEntry(size_t idx, size_t d, Key start) : Base(idx, d, start) {}
const size_t index() const { return this->get<0>(); } const size_t index() const { return this->get<0>(); }
const size_t dim() const { return this->get<1>(); } const size_t dim() const { return this->get<1>(); }

View File

@ -158,7 +158,7 @@ namespace gtsam {
SubgraphBuilderParameters parameters_; SubgraphBuilderParameters parameters_;
private: private:
SubgraphBuilder() {} SubgraphBuilder() {};
}; };
/*******************************************************************************************/ /*******************************************************************************************/