non-virtual-dtor in future_error_category

Open
#368 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp

Research direction

Start by inspecting libs/thread/src/future.cpp at line 19 and the future_error_category declaration shown in the warning. Reproduce the compiler warning with non-virtual-destructor diagnostics enabled, then verify that the warning is no longer emitted after the issue is addressed.

Written by the indexing model from the issue text.

Description

libs/thread/src/future.cpp:19:12: warning: 'boost::thread_detail::future_error_category' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class future_error_category :
^
1 warning generated.

Dominant language
C++
Stars
213
Forks
171
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from boostorg/thread

All issues in boostorg/thread

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.