Skip to content

Commit

Permalink
Fix microsoft compiler warning
Browse files Browse the repository at this point in the history
Remove dll api from enum as it is not exported as library function.
  • Loading branch information
Manuel Luitz committed Mar 4, 2019
1 parent 73ce827 commit 2230cca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion g2o/apps/g2o_lib/g2o_lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ extern "C" {
/**
* Return codes of g2o optimization
*/
G2O_DLL_API enum G2OResult {
enum G2OResult {
Ok = 0,
ErrorLoadingGraph = -1,
ErrorOpeningFile = -2,
Expand Down

0 comments on commit 2230cca

Please sign in to comment.