Skip to content

Commit 37b1dc5

Browse files
Edited Caffe to work in non-C++11 compilers
1 parent 25d021e commit 37b1dc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

3rdparty/caffe/include/caffe/blob.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Blob {
5353
void ReshapeLike(const Blob& other);
5454
inline string shape_string() const {
5555
ostringstream stream;
56-
for (auto i = 0u; i < shape_.size(); ++i) {
56+
for (unsigned int i = 0u; i < shape_.size(); ++i) {
5757
stream << shape_[i] << " ";
5858
}
5959
stream << "(" << count_ << ")";

0 commit comments

Comments
 (0)