Files
opm-core/opm/core
Andreas Lauser 4fe4bee158 fix SatFuncMultiplexer on old compilers
"old" == "gcc 4.4". the standard c++ library of this compiler seems to
invoke the copy operator when creating objects in a vector, whereas
newer versions of the library don't. The problem is that std::unique
pointer cannot be copied because it is -- err -- unique and thus the
implicit copy operator for the SatFuncMultiplexer class gets deleted
by the compiler.

the fix is to introduce a "fake" copy operator which does not do
anything but is present to make std::vector of stdlibc++-4.4
happy. this is obviously not very elegant, but I could not come up
with a better solution. (another fix would be to use raw pointers
instead of std::unique_ptr, but IMO this does not qualify as
"better".)
2015-07-02 11:47:32 +02:00
..
2015-05-28 14:05:09 +02:00
2015-01-23 09:12:15 +01:00
2015-06-29 14:49:20 +02:00
2015-06-02 13:24:37 +02:00
2015-02-20 14:51:03 +01:00
2013-10-21 13:53:29 +02:00
2014-07-03 16:09:56 +02:00