소스 검색

minor bugfix with respect to some win32 code or newer gcc code...

Johannes Ruehle 11 년 전
부모
커밋
ea168ec61d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      core/image/GrayColorImageCommonImplementation.cpp

+ 2 - 0
core/image/GrayColorImageCommonImplementation.cpp

@@ -12,7 +12,9 @@
 namespace NICE {
 //Note: You must define the static instance, not just declare it. The definition creates the actual object you refer to. Without this line
 //Visual Studio returns an undefined reference error
+#ifdef WIN32
 const GrayColorImageCommonImplementation::ShallowCopyMode GrayColorImageCommonImplementation::shallowCopy;
+#endif
 
 GrayColorImageCommonImplementation::GrayColorImageCommonImplementation() {
   m_memoryLayout = internal__foreignPointer;