Browse Source

small C++ convention fix

Johannes R 12 years ago
parent
commit
dfcb93f6a9
1 changed files with 2 additions and 2 deletions
  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;