Skip to content

Commit 263226e

Browse files
committed
remove unnecessary attribute annotate
1 parent 1e323c6 commit 263226e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sdl/scene_node_desc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ void SceneNodeDesc::add_property(luisa::string_view name, T &&value) noexcept {
382382
add_property(name, string_list{value});
383383
} else if constexpr (std::is_same_v<std::decay_t<T>, node_type>) {
384384
add_property(name, node_list{std::forward<T>(value)});
385-
} else [[unlikely]] {
385+
} else {
386386
LUISA_ERROR_WITH_LOCATION("Unsupported value for property");
387387
}
388388
}

0 commit comments

Comments
 (0)