Skip to content

Commit 4cc467e

Browse files
DarkDimiusarun11299
authored andcommitted
Fix lto build on clang by marking HolderBase::operator() as abstract (#12)
1 parent 7534a9c commit 4cc467e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

subprocess.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ class preexec_func
611611

612612
private:
613613
struct HolderBase {
614-
virtual void operator()() const;
614+
virtual void operator()() const = 0;
615615
};
616616
template <typename T>
617617
struct FuncHolder: HolderBase {

0 commit comments

Comments
 (0)