mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
scout: Instantiate templates in their namespace.
When building the code with clang the following warning message is prodiced: "explicit instantiation of 'Scout::Browser_window' must occur in namespace 'Scout' template class Browser_window<Genode::Pixel_rgb888>" This happens for several different types. This patch fixes the problem by instantiating all those templates using their explicit full name. Issue #3985
This commit is contained in:
parent
d475015ada
commit
1edac9730c
@ -477,4 +477,4 @@ void Browser_window<PT>::handle_scroll(int view_pos)
|
||||
ypos_sb(-view_pos, 0);
|
||||
}
|
||||
|
||||
template class Browser_window<Genode::Pixel_rgb888>;
|
||||
template class Scout::Browser_window<Genode::Pixel_rgb888>;
|
||||
|
@ -327,4 +327,4 @@ Element *Scrollbar<PT>::find(Point position)
|
||||
}
|
||||
|
||||
|
||||
template class Scrollbar<Genode::Pixel_rgb888>;
|
||||
template class Scout::Scrollbar<Genode::Pixel_rgb888>;
|
||||
|
@ -198,8 +198,8 @@ Element *Icon<PT, W, H>::find(Point position)
|
||||
return 0;
|
||||
}
|
||||
|
||||
template class Horizontal_shadow<Genode::Pixel_rgb888, 40>;
|
||||
template class Horizontal_shadow<Genode::Pixel_rgb888, 160>;
|
||||
template class Icon<Genode::Pixel_rgb888, 16, 16>;
|
||||
template class Icon<Genode::Pixel_rgb888, 32, 32>;
|
||||
template class Icon<Genode::Pixel_rgb888, 64, 64>;
|
||||
template class Scout::Horizontal_shadow<Genode::Pixel_rgb888, 40>;
|
||||
template class Scout::Horizontal_shadow<Genode::Pixel_rgb888, 160>;
|
||||
template class Scout::Icon<Genode::Pixel_rgb888, 16, 16>;
|
||||
template class Scout::Icon<Genode::Pixel_rgb888, 32, 32>;
|
||||
template class Scout::Icon<Genode::Pixel_rgb888, 64, 64>;
|
||||
|
Loading…
Reference in New Issue
Block a user