File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -47,28 +47,28 @@ class ThreadPoolOptions
4747
4848// / Implementation
4949
50- ThreadPoolOptions::ThreadPoolOptions ()
50+ inline ThreadPoolOptions::ThreadPoolOptions ()
5151 : m_thread_count(std::max<size_t >(1u , std::thread::hardware_concurrency()))
5252 , m_queue_size(1024u )
5353{
5454}
5555
56- void ThreadPoolOptions::setThreadCount (size_t count)
56+ inline void ThreadPoolOptions::setThreadCount (size_t count)
5757{
5858 m_thread_count = std::max<size_t >(1u , count);
5959}
6060
61- void ThreadPoolOptions::setQueueSize (size_t size)
61+ inline void ThreadPoolOptions::setQueueSize (size_t size)
6262{
6363 m_queue_size = std::max<size_t >(1u , size);
6464}
6565
66- size_t ThreadPoolOptions::threadCount () const
66+ inline size_t ThreadPoolOptions::threadCount () const
6767{
6868 return m_thread_count;
6969}
7070
71- size_t ThreadPoolOptions::queueSize () const
71+ inline size_t ThreadPoolOptions::queueSize () const
7272{
7373 return m_queue_size;
7474}
You can’t perform that action at this time.
0 commit comments