Is the word "use" used in the same way in the following two sentences?

The use of torture has been condemned by the United Nations.

He warned against the use of narcotic drugs.
the same meaning