2 *****************************************************************************
3 * @author This file is part of libsnark, developed by SCIPR Lab
4 * and contributors (see AUTHORS).
5 * @copyright MIT license (see LICENSE file)
6 *****************************************************************************/
14 template<typename FieldT>
15 gadget<FieldT>::gadget(
16 protoboard<FieldT> &pb, const std::string &annotation_prefix)
17 : pb(pb), annotation_prefix(annotation_prefix)
19 // Annotations may appear as "" (even if set by the calling code) unless
20 // DEBUG is set. See pb_variable.tcc.
22 assert(annotation_prefix != "");
26 } // namespace libsnark