Some time ago I had to design a circuit which will pull a node (Vref - see schematic) in the circuit to Vcc.
I decided to use a pnp bjt for that and drive it with an npn.
I wanted to use the minimum number of parts for this so I came up with the attached schematic.
I haven't actually built the circuit but LTSpice says it should work.
Is there any flaw in it ? Or any reason not to use it and use something classic like this: