@@ -347,6 +347,33 @@ replace_function_body_optionst parse_replace_function_body_optionst(
347
347
return {function_regex, only_generate, std::move (replace_function_bodies)};
348
348
}
349
349
350
+ replace_function_body_optionst::replace_function_body_optionst (
351
+ std::regex functions_regex,
352
+ bool only_generate,
353
+ std::unique_ptr<replace_function_bodiest> replace_function_bodies)
354
+ : functions_regex(std::move(functions_regex)),
355
+ only_generate(only_generate),
356
+ replace_function_bodies(std::move(replace_function_bodies))
357
+ {
358
+ }
359
+
360
+ replace_function_body_optionst::replace_function_body_optionst (
361
+ replace_function_body_optionst &&other)
362
+ : functions_regex(std::move(other.functions_regex)),
363
+ only_generate(other.only_generate),
364
+ replace_function_bodies(std::move(other.replace_function_bodies))
365
+ {
366
+ }
367
+
368
+ replace_function_body_optionst &replace_function_body_optionst::
369
+ operator =(replace_function_body_optionst &&other)
370
+ {
371
+ functions_regex = std::move (other.functions_regex );
372
+ only_generate = other.only_generate ;
373
+ replace_function_bodies = std::move (other.replace_function_bodies );
374
+ return *this ;
375
+ }
376
+
350
377
// / Replace function bodies with some default behavior
351
378
// / A list of currently accepted command line arguments
352
379
// / + the type of bodies generated by them
0 commit comments