Suppport for MSVC DLLs.

Change-Id: Ibbcc4ba4e59f5bbf1cb91fe81c7d3b9042d03493
This commit is contained in:
Björn Piltz
2014-04-23 22:13:37 +02:00
committed by Keir Mierle
parent c830820a5c
commit 5d7eed87b4
17 changed files with 108 additions and 73 deletions
+2 -2
View File
@@ -117,9 +117,9 @@ typedef internal::ResidualBlock* ResidualBlockId;
// problem.AddResidualBlock(new MyBinaryCostFunction(...), x2, x3);
//
// Please see cost_function.h for details of the CostFunction object.
class Problem {
class CERES_EXPORT Problem {
public:
struct Options {
struct CERES_EXPORT Options {
Options()
: cost_function_ownership(TAKE_OWNERSHIP),
loss_function_ownership(TAKE_OWNERSHIP),