mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
block_cache: explicitly instantiate template function
The explicit instantiation is required because the function is defined in the compilation unit only but referenced externally. Fixes #4108
This commit is contained in:
@@ -44,6 +44,9 @@ void Driver<POLICY>::Policy::sync(const typename POLICY::Element *e, char *dst)
|
||||
}
|
||||
}
|
||||
|
||||
/* explicit instantiation for external reference */
|
||||
template void Driver<Policy>::Policy::sync(const typename Policy::Element *, char *);
|
||||
|
||||
|
||||
struct Main
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user