]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore: do not reference non-template with template
authorKefu Chai <kchai@redhat.com>
Wed, 28 Apr 2021 08:15:56 +0000 (16:15 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 28 Apr 2021 12:54:22 +0000 (20:54 +0800)
this change addresses the build failure with clang:

src/crimson/os/seastore/onode_manager/staged-fltree/node_extent_accessor.h:352:29: error: 'encode_split' following the 'template' keyword does not refer to a template
    test_recorder->template encode_split(split_at, read().p_start());
                   ~~~~~~~~ ^

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/os/seastore/onode_manager/staged-fltree/node_extent_accessor.h

index ed58cfcd1c077a0e05a5da55e1c01f5ad6b636e3..5751097dcfac8d435ecf6c208ddc54255433a29e 100644 (file)
@@ -349,7 +349,7 @@ class NodeExtentAccessorT {
     }
 #ifndef NDEBUG
     test_extent->prepare_replay(extent);
-    test_recorder->template encode_split(split_at, read().p_start());
+    test_recorder->encode_split(split_at, read().p_start());
 #endif
     layout_t::split(*mut, read(), split_at);
 #ifndef NDEBUG