Permalink
Browse files

eda/TableEditor: Temporary fix for bad warning relating to Containers

  • Loading branch information...
1 parent 3a8af35 commit 4fdfb7f70fc984832ad72bbb730fff04052e5ac4 @jerstlouis jerstlouis committed Jul 6, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 eda/libeda/src/gui/TableEditor.ec
@@ -291,8 +291,9 @@ public:
if(matches)
{
listEnumerationTimer.matches = { };
- // fixme: stupid warning?
- listEnumerationTimer.matches.Copy(matches);
+ // TOFIX: This (void *) cast here should NOT be required... Fix this Container warning:
+ // warning: incompatible expression matches (ecere::com::Array<eda::Id>); expected ecere::com::Container<T>
+ listEnumerationTimer.matches.Copy((void *)matches);
}
else
listEnumerationTimer.matches = null;

0 comments on commit 4fdfb7f

Please sign in to comment.