Skip to content
Snippets Groups Projects
Commit badf7a13 authored by Olivier BICHLER's avatar Olivier BICHLER
Browse files

Removed trailing ; warning

parent 5916d89e
No related branches found
No related tags found
3 merge requests!414Update version 0.5.1 -> 0.6.0,!408[Add] Dropout Operator,!373Make graph matching fail in case of syntax error
......@@ -196,7 +196,7 @@ template <typename T>
const void* TensorImpl_cpu<T>::rawPtr(NbElts_t offset) const {
AIDGE_ASSERT(mData.size() >= mNbElts, "TensorImpl_cpu<{}>::rawPtr(): accessing uninitialized const rawPtr", typeid(T).name());
return (mData.data() + offset);
};
}
template <typename T>
void TensorImpl_cpu<T>::setRawPtr(void *ptr, NbElts_t length) {
......
......@@ -16,20 +16,20 @@
namespace Aidge {
Data::Data(Data&& other): mType(other.mType) {};
Data::Data(const Data& other): mType(other.mType) {};
Data::Data(const std::string& type): mType(type) {};
Data::Data(Data&& other): mType(other.mType) {}
Data::Data(const Data& other): mType(other.mType) {}
Data::Data(const std::string& type): mType(type) {}
Data::~Data() = default;
Data& Data::operator=(const Data& other) {
AIDGE_ASSERT(other.mType == mType, "Cannot copy a different type for Data object.");
return *this;
};
}
Data& Data::operator=(Data&& other) {
AIDGE_ASSERT(other.mType == mType, "Cannot copy a different type fro Data object.");
return *this;
};
}
} // namespace Aidge
......@@ -42,7 +42,7 @@ Connector Connector::operator[](IOIndex_t index) const {
return Connector(mNode, index);
}
IOIndex_t Connector::size() const { return mNode->nbOutputs(); };
IOIndex_t Connector::size() const { return mNode->nbOutputs(); }
////////////////////////////////////////////////////////////////////////////////
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment