File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed
Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -229,13 +229,13 @@ runtime::Error Module::load_method(
229229}
230230
231231ET_NODISCARD inline runtime::Result<Method*> Module::method (
232- const std::string& method_name) {
233- ET_CHECK_OR_RETURN_ERROR (
234- methods_.count (method_name) > 0 ,
235- InvalidArgument,
236- " no such method in program: %s" ,
237- method_name.c_str ());
238- return methods_[method_name].method .get ();
232+ const std::string& method_name) {
233+ ET_CHECK_OR_RETURN_ERROR (
234+ methods_.count (method_name) > 0 ,
235+ InvalidArgument,
236+ " no such method in program: %s" ,
237+ method_name.c_str ());
238+ return methods_[method_name].method .get ();
239239}
240240
241241runtime::Result<MethodMeta> Module::method_meta (
Original file line number Diff line number Diff line change @@ -195,16 +195,17 @@ class Module {
195195 }
196196
197197 /* *
198- * Get a method by it's name. Not recommended to use this method directly as an end user.
199- * It's exposed to allow for composability of module in apis that operate on method.
198+ * Get a method by it's name. Not recommended to use this method directly as
199+ * an end user. It's exposed to allow for composability of module in apis that
200+ * operate on method.
200201 *
201202 * @param[in] method_name The name of the method to get.
202203 *
203204 * @returns A Result object containing either a pointer to the requested
204205 * method or an error to indicate failure.
205206 */
206- ET_NODISCARD inline runtime::Result<Method*> method (
207- const std::string& method_name);
207+ ET_NODISCARD inline runtime::Result<Method*> method (
208+ const std::string& method_name);
208209
209210 /* *
210211 * Load the 'forward' method from the program and set up memory management if
You can’t perform that action at this time.
0 commit comments