Commit 178e2cfb authored by jan.koester's avatar jan.koester
Browse files

fixed

parent 49c11b0a
Loading
Loading
Loading
Loading
Loading
+6 −0
Changes for src/uuid.cpp: 6 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -77,6 +77,12 @@ bool authdb::uuid::operator==(const uuid src) const{
    return false;
}

bool authdb::uuid::operator!=(const uuid src) const{
    if(uuid_compare(value,src.value)==0)
        return false;
    return true;
}

void authdb::uuid::operator=(const uuid& src){
    uuid_copy(value,src.value);
}
+1 −1
Changes for src/uuid.h: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ namespace authdb{
      void operator=(const uuid &src);
      bool operator==(const uuid_t src) const;
      bool operator==(const uuid src) const;

      bool operator!=(const uuid src) const;
      uuid_t value;

   private: