Skip to content

Commit

Permalink
lint internal thread
Browse files Browse the repository at this point in the history
  • Loading branch information
shelhamer committed Jan 16, 2015
1 parent f847471 commit c16493c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/caffe/internal_thread.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ class InternalThread {

} // namespace caffe

#endif // CAFFE_INTERNAL_THREAD_HPP_
#endif // CAFFE_INTERNAL_THREAD_HPP_
3 changes: 2 additions & 1 deletion src/caffe/internal_thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ bool InternalThread::StartInternalThread() {
return false;
}
try {
thread_.reset(new boost::thread(&InternalThread::InternalThreadEntry, this));
thread_.reset(
new boost::thread(&InternalThread::InternalThreadEntry, this));
} catch (...) {
return false;
}
Expand Down

0 comments on commit c16493c

Please sign in to comment.