소스 검색

small C++ convention fix

Johannes R 12 년 전
부모
커밋
dfcb93f6a9
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      core/vector/Algorithms.tcc

+ 2 - 2
core/vector/Algorithms.tcc

@@ -224,7 +224,7 @@ inline void lnIP(VectorT<T> &v) {
 }
 
 template<class T>
-inline VectorT<T> *ln(const VectorT<T> &v, VectorT<T> *buffer=NULL) {
+inline VectorT<T> *ln(const VectorT<T> &v, VectorT<T> *buffer) {
 #ifdef NICE_USELIB_IPP
   VectorT<T> *result;
   if(buffer==NULL || buffer->size()!=v.size()) {
@@ -243,7 +243,7 @@ inline VectorT<T> *ln(const VectorT<T> &v, VectorT<T> *buffer=NULL) {
 }
 
 template<class T>
-inline VectorT<T> *createGaussFunc(float sigma, VectorT<T> *buffer=NULL)
+inline VectorT<T> *createGaussFunc(float sigma, VectorT<T> *buffer)
 {
 #ifdef NICE_USELIB_IPP
     int resultlength;