mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Unify symbol visibility configuration for all compilers
This makes it possible to build unit tests with shared libraries on MSVC. Change-Id: I1db66a80b2c78c4f3d354e35235244d17bac9809
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
#include <string>
|
||||
|
||||
#include "ceres/internal/eigen.h"
|
||||
#include "ceres/internal/port.h"
|
||||
|
||||
namespace ceres {
|
||||
namespace internal {
|
||||
@@ -46,7 +47,7 @@ namespace internal {
|
||||
// line/direction. FunctionSample contains the information in two
|
||||
// ways. Information in the ambient space and information along the
|
||||
// direction of search.
|
||||
struct FunctionSample {
|
||||
struct CERES_EXPORT_INTERNAL FunctionSample {
|
||||
FunctionSample();
|
||||
FunctionSample(double x, double value);
|
||||
FunctionSample(double x, double value, double gradient);
|
||||
|
||||
Reference in New Issue
Block a user