diff --git a/auxil/spicy b/auxil/spicy index 92f76542ee..2f513be285 160000 --- a/auxil/spicy +++ b/auxil/spicy @@ -1 +1 @@ -Subproject commit 92f76542eebfcc24b0212aa6c63a3b7af1a0f840 +Subproject commit 2f513be28536067afb1c6f60eaa2fbca01b0ce7e diff --git a/src/spicy/runtime-support.h b/src/spicy/runtime-support.h index 48c00a2bc5..f2a122b0c9 100644 --- a/src/spicy/runtime-support.h +++ b/src/spicy/runtime-support.h @@ -7,7 +7,6 @@ #pragma once #include -#include #include #include #include @@ -489,8 +488,8 @@ template ValPtr to_val(const hilti::rt::Vector& v, const TypePtr& target); template ValPtr to_val(const std::optional& t, const TypePtr& target); -template -ValPtr to_val(const hilti::rt::DeferredExpression& t, const TypePtr& target); +template +ValPtr to_val(const hilti::rt::DeferredExpression& t, const TypePtr& target); template ValPtr to_val(hilti::rt::integer::safe i, const TypePtr& target); template @@ -519,13 +518,13 @@ inline ValPtr to_val(const std::optional& t, const TypePtr& target) { } /** - * Converts a Spicy-side DeferredExpression value to a Zeek value. Such + * Converts a Spicy-side DeferredExpression value to a Zeek value. Such * result values are returned by the ``.?`` operator. If the result is not * set, this will convert into nullptr (which the tuple-to-record to_val() * picks up on). */ -template -inline ValPtr to_val(const hilti::rt::DeferredExpression& t, const TypePtr& target) { +template +inline ValPtr to_val(const hilti::rt::DeferredExpression& t, const TypePtr& target) { try { return to_val(t(), target); } catch ( const hilti::rt::AttributeNotSet& ) {